vhost: add APIs to operate inflight ring
authorJin Yu <jin.yu@intel.com>
Wed, 9 Oct 2019 20:48:34 +0000 (04:48 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:09 +0000 (16:43 +0200)
commitbb0c2de9602b88f2f9c01976645871a487b8c915
tree1eeee3fa702066be8a53be1013aaf74e8013bb91
parentad0a4ae491fe3b10338441dfdf11a9b3a1c05798
vhost: add APIs to operate inflight ring

This patch introduces three APIs to operate the inflight
ring. Three APIs are set, set last and clear. It includes
split and packed ring.

Signed-off-by: Lin Li <lilin24@baidu.com>
Signed-off-by: Xun Ni <nixun@baidu.com>
Signed-off-by: Yu Zhang <zhangyu31@baidu.com>
Signed-off-by: Jin Yu <jin.yu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/rte_vhost.h
lib/librte_vhost/rte_vhost_version.map
lib/librte_vhost/vhost.c