Spdk/lib/env_dpdk
Jim Harris 84e198a925 env: add spdk_pci_for_each_device
This is a safer alternative to spdk_pci_get_first/next_device,
since those APIs do not hold the lock between calls.

Future patches will remove those APIs, and change callers to
use this new API instead.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I71c7e8c1feb9112da8be32a8056b30e105e30463
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10655
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2022-06-30 13:32:29 -04:00
..
env_internal.h env/dpdk: revert 8f7d9ec "env/dpdk: Use the DPDK device count for IOMMU mapping" 2022-06-30 13:32:25 -04:00
env.c Revert "env/dpdk: Exclude the orig cpuset in spdk_unaffinitize_thread" 2022-06-30 13:32:28 -04:00
env.mk lib/env_dpdk: remove duplicate entries from DPDK_LIB_LIST 2022-06-30 13:32:29 -04:00
init.c env/dpdk: revert 8f7d9ec "env/dpdk: Use the DPDK device count for IOMMU mapping" 2022-06-30 13:32:25 -04:00
Makefile env: add spdk_pci_for_each_device 2022-06-30 13:32:29 -04:00
memory.c env/dpdk: revert 8f7d9ec "env/dpdk: Use the DPDK device count for IOMMU mapping" 2022-06-30 13:32:25 -04:00
pci_event.c spelling: lib 2022-06-30 13:32:28 -04:00
pci_idxd.c env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci_ioat.c env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci_virtio.c env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci_vmd.c vmd: update for changes in IceLake platform 2021-08-31 08:39:37 +00:00
pci.c env: add spdk_pci_for_each_device 2022-06-30 13:32:29 -04:00
sigbus_handler.c env: only pass failing address to spdk_pci_error_handler 2021-06-15 08:34:28 +00:00
spdk_env_dpdk.map env: add spdk_pci_for_each_device 2022-06-30 13:32:29 -04:00
threads.c Revert "thread: add spdk_env_get_primary_core" 2020-07-29 14:58:44 +00:00