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
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 ++
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
3 matches
Mail list logo