vhost: introduce API to get vDPA device number
authorXiaolong Ye <xiaolong.ye@intel.com>
Fri, 28 Sep 2018 21:47:46 +0000 (05:47 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:49 +0000 (18:53 +0200)
commit0e0a7d38014153e252bed9ae53a47098e325f77d
tree5e50839048407eb61ace07ef654b82115bb33427
parent65313f1a822a24524b01ea37f2b802322d1e7300
vhost: introduce API to get vDPA device number

It's used to get number of available registered vDPA devices.

Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Xiao Wang <xiao.w.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/rte_vdpa.h
lib/librte_vhost/rte_vhost_version.map
lib/librte_vhost/vdpa.c