eal: remove dependency on vdev in attach
authorJianfeng Tan <jianfeng.tan@intel.com>
Tue, 7 Nov 2017 06:54:20 +0000 (06:54 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 7 Nov 2017 15:28:56 +0000 (16:28 +0100)
commit394d5b4c0aa1976a9b8384efb227bf39550c6675
tree7cf7d7f2db07c0831abe50aeaa74d85bc2924dda
parent49c80d31fe209bc548d3b8aa5f4f7da42ad89d9f
eal: remove dependency on vdev in attach

We can call bus->plug() to avoid calling rte_vdev_init() explicitly.

Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
lib/librte_eal/common/eal_common_dev.c