Re: [dpdk-dev] [PATCH v2 3/3] net/vhost: vHost support to free consumed buffers

2017-01-20 Thread Billy McFall
rte_eth_tx_done_cleanup(..) checks to see if .tx_done_cleanup is set, so in that since it is optional. The reason for this function does no work and returns 0 is to indicate to the application calling it that the mbufs are free and the application can continue. The application needs to know if the

Re: [dpdk-dev] [PATCH v2 3/3] net/vhost: vHost support to free consumed buffers

2017-01-11 Thread Stephen Hemminger
On Wed, 11 Jan 2017 15:03:23 -0500 Billy McFall wrote: > Add support to the vHostdriver for the new API to force free consumed > buffers on Tx ring. vHost does not cache the mbufs so there is no work > to do. > > Signed-off-by: Billy McFall > --- > drivers/net/vhost/rte_eth_vhost.c | 11 ++

[dpdk-dev] [PATCH v2 3/3] net/vhost: vHost support to free consumed buffers

2017-01-11 Thread Billy McFall
Add support to the vHostdriver for the new API to force free consumed buffers on Tx ring. vHost does not cache the mbufs so there is no work to do. Signed-off-by: Billy McFall --- drivers/net/vhost/rte_eth_vhost.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/vhost