diff options
Diffstat (limited to 'lib/librte_vhost/vdpa.c')
-rw-r--r-- | lib/librte_vhost/vdpa.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/librte_vhost/vdpa.c b/lib/librte_vhost/vdpa.c index c82fd437..c2c5dff1 100644 --- a/lib/librte_vhost/vdpa.c +++ b/lib/librte_vhost/vdpa.c @@ -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; +} |