vhost: add packed ring indexes increasing function
authorMarvin Liu <yong.liu@intel.com>
Thu, 24 Oct 2019 16:08:20 +0000 (00:08 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:20:47 +0000 (19:20 +0200)
commit86202aae9402a2f181436ace1714282ab8a43871
tree9059c9d2ab8a771cc09cce33d738e9696cf7dbb3
parent0e4949639ba4e915e7b799f7764b83e124e73669
vhost: add packed ring indexes increasing function

When enqueuing or dequeuing, the virtqueue's local available and used
indexes are increased.

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