vdev: add virtual device name helper function
authorJan Blunck <jblunck@infradead.org>
Tue, 11 Apr 2017 15:44:10 +0000 (17:44 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 14 Apr 2017 13:23:29 +0000 (15:23 +0200)
commit665146f2c8fbe8bb2f89e6f876f13d124f3ac3c5
tree3640717d9eb23331bf7d4ea20a16e7a0d5170135
parent6e051f50c9f506e9adcfd7b4cf90cff17137d848
vdev: add virtual device name helper function

This adds the rte_vdev_device_name() helper function to retrieve the
rte_vdev_device name which makes moving the name of the low-level
device into struct rte_device easier in the future.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
lib/librte_eal/common/include/rte_vdev.h