numam-dpdk/lib/librte_eal
Shreyansh Jain ad3e1dec11 pci: remove loop over drivers in device detach
rte_eal_pci_detach calls pci_detach_all_drivers which loops over all
PCI drivers for detaching the device. This is unnecessary as the device
already has the PCI driver reference which can be used directly.

Removing pci_detach_all_drivers and restructuring rte_eal_pci_detach
and rte_eal_pci_detach_dev to work without looping over driver list.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Reviewed-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
2017-04-14 15:23:28 +02:00
..
bsdapp lib: remove unnecessary void cast 2017-04-11 18:05:10 +02:00
common pci: remove loop over drivers in device detach 2017-04-14 15:23:28 +02:00
linuxapp lib: remove unnecessary void cast 2017-04-11 18:05:10 +02:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00