vdev: make virtual bus use its device struct
authorJan Blunck <jblunck@infradead.org>
Tue, 11 Apr 2017 15:44:12 +0000 (17:44 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 14 Apr 2017 13:23:29 +0000 (15:23 +0200)
commitdda987315ca27a8db7d7127b3634ae5227357ba2
treec9754b671db32c1eb665ce39f592bbb429304f7e
parent7eff02a09a8a38008bfa641cf7860eccf8904d37
vdev: make virtual bus use its device struct

This allows the virtual bus to be rescanned and probed by tracking the
creation of rte_vdev_device.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
lib/librte_eal/common/eal_common_vdev.c