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

This patch introduces two APIs. one is for getting inflgiht
ring and the other is for getting base.

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