vhost: add packed ring single enqueue
authorMarvin Liu <yong.liu@intel.com>
Thu, 24 Oct 2019 16:08:21 +0000 (00:08 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:20:47 +0000 (19:20 +0200)
commit93520085efdaf5581710174555ab03dc31766391
tree174016aa66dc7b6590853f0b46a52ffcd6d1506f
parent86202aae9402a2f181436ace1714282ab8a43871
vhost: add packed ring single enqueue

Add vhost enqueue function for single packet and meanwhile left space
for flush used ring function.

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