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