New upstream version 18.11-rc1
[deb_dpdk.git] / lib / librte_vhost / vdpa.c
index c82fd43..c2c5dff 100644 (file)
@@ -113,3 +113,9 @@ rte_vdpa_get_device(int did)
 
        return vdpa_devices[did];
 }
+
+int
+rte_vdpa_get_device_num(void)
+{
+       return vdpa_device_num;
+}