Spdk/lib/env_dpdk
Jim Harris 207e05831f env: add spdk_pci_device_allow() API
The env layer has a pci_allowed list, which specifies
that only a subset of PCI devices may be attached
by the associated process.

But that doesn't cover PCI devices that are hot-inserted
after the application starts, which is common for
storage/NVMe.

So add a new spdk_pci_device_allow() API which allows
an application to add new devices to the allowed list.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I7bd5ff428d84480d46bc236698daadd019b20b8e

Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6183
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: <dongx.yi@intel.com>
2021-02-09 11:27:19 +00:00
..
env_internal.h env/dpdk: Use the DPDK device count for IOMMU mapping 2021-01-22 18:32:53 +00:00
env.c lib: Use PRId64 for portability 2020-11-20 11:01:37 +00:00
env.mk env_dpdk: add rte_ethdev dependency 2021-02-04 08:34:30 +00:00
init.c env/dpdk: Use the DPDK device count for IOMMU mapping 2021-01-22 18:32:53 +00:00
Makefile so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
memory.c lib:env_dpdk fix the enum rte_kernel_driver definition deference between dpdk 19.11 and 20.11 2021-02-05 13:45:00 +00: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 env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci.c env: add spdk_pci_device_allow() API 2021-02-09 11:27:19 +00:00
spdk_env_dpdk.map env: add spdk_pci_device_allow() API 2021-02-09 11:27:19 +00:00
threads.c Revert "thread: add spdk_env_get_primary_core" 2020-07-29 14:58:44 +00:00