vhost: add batch datapath for async packed ring
authorCheng Jiang <cheng1.jiang@intel.com>
Tue, 27 Apr 2021 08:03:34 +0000 (08:03 +0000)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 4 May 2021 08:21:59 +0000 (10:21 +0200)
commiteb36520444cc279fd20bba6fd265ec980a763d59
tree4662cf0e87a6920a66f90fbf10271e4882898a98
parent873e8dad6f493637da02d52d7ad190bda0473758
vhost: add batch datapath for async packed ring

Add batch datapath for async vhost packed ring to improve the
performance of small packet processing.

Signed-off-by: Cheng Jiang <cheng1.jiang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/vhost/virtio_net.c