Implements attach / detach for the PCI bus, and a streamlined attach for the virtual bus.
This is necessary to remove the final dependencies of the EAL on the virtual and PCI buses, due to the rte_eal_dev_attach and rte_eal_dev_detach functions. This patchset depends on: pci: implement find_device bus operation http://dpdk.org/ml/archives/dev/2017-May/066340.html http://dpdk.org/dev/patchwork/patch/24498/ [PATCH 00/14] Generic devargs parsing http://dpdk.org/ml/archives/dev/2017-May/066351.html http://dpdk.org/dev/patchwork/patch/24508/ Gaetan Rivet (3): pci: implement attach/detach bus operation vdev: implement attach bus operation vdev: use standard bus registration function lib/librte_eal/common/eal_common_dev.c | 53 +++++++++++++++++++-------------- lib/librte_eal/common/eal_common_pci.c | 50 +++++++++++++++++++++++++++++++ lib/librte_eal/common/eal_common_vdev.c | 26 +++++----------- 3 files changed, 88 insertions(+), 41 deletions(-) -- 2.1.4