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

2017-01-11 Thread Billy McFall
This new API is attempting to address two scenarios: 1) Application wants to reuse existing mbuf to avoid a packet copy (example: Flooding a packet to multiple ports). The application increments the reference count of the packet and then polls new API until the reference count for the given mbuf is

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

2016-12-16 Thread Stephen Hemminger
On Fri, 16 Dec 2016 07:48:51 -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 3/3] driver: vHost support to free consumed buffers

2016-12-16 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