numam-dpdk/lib/librte_eal/common
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
..
arch remove unmaintained TILE-Gx architecture 2017-03-15 11:40:57 +01:00
include version: 17.05-rc1 2017-04-06 23:25:18 +02:00
eal_common_bus.c bus: add probing 2017-01-19 04:58:17 +01:00
eal_common_cpuflags.c eal: do not panic when CPU is not supported 2017-03-27 15:50:09 +02:00
eal_common_dev.c eal: do not panic on vdev init failure 2017-03-27 15:58:28 +02:00
eal_common_devargs.c devargs: reset driver name pointer on parsing failure 2017-01-29 23:34:07 +01:00
eal_common_errno.c eal: remove useless errno 2015-03-10 12:17:31 +01:00
eal_common_hexdump.c eal: fix whitespace 2015-06-12 11:10:10 +02:00
eal_common_launch.c eal: fix whitespace 2015-06-12 11:10:10 +02:00
eal_common_lcore.c eal: do not panic on CPU detection 2017-03-27 15:47:10 +02:00
eal_common_log.c eal: deprecate log functions 2017-04-05 13:48:40 +02:00
eal_common_memory.c eal: decrease log level of some debug messages 2016-03-13 23:44:35 +01:00
eal_common_memzone.c ivshmem: remove library and its EAL integration 2016-08-23 12:23:58 +02:00
eal_common_options.c eal: deprecate log functions 2017-04-05 13:48:40 +02:00
eal_common_pci_uio.c pci: fix resource release when unmapping 2016-06-20 10:46:04 +02:00
eal_common_pci.c pci: remove loop over drivers in device detach 2017-04-14 15:23:28 +02:00
eal_common_proc.c eal: check if primary process is alive 2016-03-09 16:13:09 +01:00
eal_common_string_fns.c eal: remove rte_snprintf 2014-09-29 15:04:55 +02:00
eal_common_tailqs.c eal: do not panic on a number of conditions 2017-03-27 15:54:49 +02:00
eal_common_thread.c eal: clean up export of socket id variable 2015-03-02 19:40:20 +01:00
eal_common_timer.c eal: customize delay function 2016-09-26 14:48:42 +02:00
eal_common_vdev.c vdev: fix detaching with alias 2016-12-07 21:14:43 +01:00
eal_filesystem.h mem: remove single file segments 2016-10-03 15:20:51 +02:00
eal_hugepages.h mem: remove single file segments 2016-10-03 15:20:51 +02:00
eal_internal_cfg.h doc: fix doxygen syntax of some comments 2015-11-04 11:56:37 +01:00
eal_options.h eal: move plugin loading from linuxapp to common 2015-11-12 16:53:22 +01:00
eal_private.h eal/linux: support running as unprivileged user 2017-03-09 17:08:46 +01:00
eal_thread.h eal: thread affinity API 2015-02-24 20:22:24 +01:00
Makefile bus: introduce bus abstraction 2017-01-19 04:57:18 +01:00
malloc_elem.c mem: zero out memory on free 2016-07-10 15:38:40 +02:00
malloc_elem.h remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
malloc_heap.c ivshmem: remove library and its EAL integration 2016-08-23 12:23:58 +02:00
malloc_heap.h mem: rework memzone to be allocated by malloc 2015-07-16 13:59:24 +02:00
rte_keepalive.c keepalive: add liveness callback 2016-06-16 18:25:48 +02:00
rte_malloc.c mem: do not zero out memory on zmalloc 2016-07-10 15:40:04 +02:00