numam-dpdk/drivers
Sunil Kumar Kori 463a5245d5 bus/pci: optimise scanning with whitelist/blacklist
rte_bus_scan API scans all the available PCI devices irrespective of white
or black listing parameters then further devices are probed based on white
or black listing parameters. So unnecessary CPU cycles are wasted during
rte_pci_scan.

For Octeontx2 platform with core frequency 2.4 Ghz, rte_bus_scan consumes
around 26ms to scan around 90 PCI devices but all may not be used by the
application. So for the application which uses 2 NICs, rte_bus_scan
consumes few microseconds and rest time is saved with this patch.

Patch restricts devices to be scanned as per below mentioned conditions:
 - All devices will be scanned if no parameters are passed.
 - Only white listed devices will be scanned if white list is available.
 - All devices, except black listed, will be scanned if black list is
   available.

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: Gaetan Rivet <grive@u256.net>
2020-05-11 16:59:58 +02:00
..
baseband baseband/fpga_5gnr_fec: support interrupt 2020-04-19 22:34:26 +02:00
bus bus/pci: optimise scanning with whitelist/blacklist 2020-05-11 16:59:58 +02:00
common common/octeontx: fix gcc 9.1 ABI break 2020-05-06 23:53:19 +02:00
compress fix various typos found by Lintian 2020-04-25 19:53:47 +02:00
crypto crypto/qat: support plain SHA1..SHA512 hashes 2020-04-19 22:45:11 +02:00
event event/dsw: avoid reusing previously recorded events 2020-05-04 13:48:28 +02:00
mempool replace hot attributes 2020-04-16 18:30:58 +02:00
net remove references to private PCI probe function 2020-05-11 16:59:58 +02:00
raw version: reference next ABI 21 for recent additions 2020-05-05 00:25:34 +02:00
vdpa vdpa/mlx5: fix PCI address comparison 2020-05-05 15:54:26 +02:00
Makefile drivers: add crypto as dependency for event drivers 2020-03-05 14:22:11 +01:00
meson.build build: add internal tag check 2020-04-25 17:01:01 +02:00