vhost: add packed ring batch dequeue
authorMarvin Liu <yong.liu@intel.com>
Thu, 24 Oct 2019 16:08:25 +0000 (00:08 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:20:47 +0000 (19:20 +0200)
commit75ed5169782072ed7d467e0f688bc0fdfeb27da1
tree350babf8efaf46fd242a97f193bd7c61b88274c5
parent47ac243ac4ced228da5d55bfc9121a8e466dbe01
vhost: add packed ring batch dequeue

Add batch dequeue function like enqueue function for packed ring, batch
dequeue function will not support chained descriptors, single packet
dequeue function will handle it.

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/vhost.h
lib/librte_vhost/virtio_net.c