[dpdk-dev] [PATCH 0/4] Use bulk alloc/free in virtio packed

Balazs Nemeth bnemeth at redhat.com
Tue Apr 6 17:44:42 CEST 2021


Use the faster bulk versions of alloc and free in virtio packed path.

Balazs Nemeth (4):
  vhost: move allocation of mbuf outside of packet enqueue
  vhost: perform all mbuf allocations in one loop
  vhost: allocate and free packets in bulk
  vhost: remove unnecessary level of indirection

 lib/librte_vhost/virtio_net.c | 56 ++++++++++++++++++++++++-----------
 1 file changed, 39 insertions(+), 17 deletions(-)

--
2.30.2



More information about the dev mailing list