summaryrefslogtreecommitdiff
path: root/lib/librte_vhost/rte_vdpa.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_vhost/rte_vdpa.h')
-rw-r--r--lib/librte_vhost/rte_vdpa.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/librte_vhost/rte_vdpa.h b/lib/librte_vhost/rte_vdpa.h
index 90465ca..b8223e3 100644
--- a/lib/librte_vhost/rte_vdpa.h
+++ b/lib/librte_vhost/rte_vdpa.h
@@ -84,4 +84,7 @@ rte_vdpa_find_device_id(struct rte_vdpa_dev_addr *addr);
struct rte_vdpa_device * __rte_experimental
rte_vdpa_get_device(int did);
+/* Get current available vdpa device number */
+int __rte_experimental
+rte_vdpa_get_device_num(void);
#endif /* _RTE_VDPA_H_ */