bus/vdev: get name from embedded generic device
authorJan Blunck <jblunck@infradead.org>
Tue, 11 Jul 2017 23:15:46 +0000 (19:15 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 12 Jul 2017 12:15:44 +0000 (14:15 +0200)
commitf6713517521e8e367f51c6e364423b23a4f47eb4
tree512d49f8151fe678d72167e9bc8e05d076c656f6
parent441ea8899e9e4c253737f316891815b07df4c83f
bus/vdev: get name from embedded generic device

Instead of getting the name from the devargs lets take it from the
rte_device.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_eal/common/include/rte_vdev.h