Spdk/lib/env_dpdk
Jim Harris b313652b30 env_dpdk/pci: Refactor PCI bus scan
Preparing for potential 22.11 changes, refactor this code using DPDK api:
- a bus device list can be walked through via RTE_DEV_FOREACH,
- a reference to the bus object is directly available under the device,

Signed-off-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Id3a21a6e62dfa1619a92465fac5a82afb9b43cb0
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14532
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2022-09-20 10:19:22 +00:00
..
env_internal.h env_dpdk: move spdk_pci_driver definition to pci.c 2022-09-20 10:19:22 +00:00
env.c check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
env.mk env/dpdk: skip build of DPDK based governors when missing rte_power 2022-06-15 08:08:55 +00:00
init.c iommu: Read AMD iommu address width 2022-09-09 13:06:05 +00:00
Makefile env/pci: call driver callback in pci_hook_device 2022-09-01 08:48:32 +00:00
memory.c env_dpdk: add dpdk_pci_device_vtophys() 2022-09-20 10:19:22 +00:00
pci_event.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
pci_idxd.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
pci_ioat.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
pci_virtio.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
pci_vmd.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
pci.c env_dpdk/pci: Refactor PCI bus scan 2022-09-20 10:19:22 +00:00
sigbus_handler.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
spdk_env_dpdk.map env/pci: method for registering PCI device providers 2022-09-01 08:48:32 +00:00
threads.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00