Spdk/lib/env_dpdk
Jim Harris 936726f847 env_dpdk: add dpdk_pci_init()
This checks the current version to make sure we have
a dpdk_fn_table that supports it.

This is easy for now, since the DPDK PCI API is
public.  Moving forward, DPDK 22.11 will likely make
these APIs private, requiring us to carry header file
copies for different DPDK versions so that we can
not only build against DPDK but also use the correct
data strucures and APIs to interact with those private
DPDK interfaces.  We will also need to consider
minor (i.e. stable or point) releases since they
could technically change PCI ABI as well - the current
year + month checks won't be sufficient.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ic9f41d9d13778f3d078b20b08da48d8d16362b11
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14637
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-09-23 08:01:01 +00:00
..
env_internal.h env_dpdk: make pci_env_init() return int 2022-09-23 08:01:01 +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 env_dpdk: make pci_env_init() return int 2022-09-23 08:01:01 +00:00
Makefile env_dpdk: move <=22.07 specific code to pci_dpdk_2207.c 2022-09-23 08:01:01 +00:00
memory.c env_dpdk: move dpdk pci code to pci_dpdk.c/h 2022-09-22 12:38:25 +00:00
pci_dpdk_2207.c env_dpdk: move <=22.07 specific code to pci_dpdk_2207.c 2022-09-23 08:01:01 +00:00
pci_dpdk.c env_dpdk: add dpdk_pci_init() 2022-09-23 08:01:01 +00:00
pci_dpdk.h env_dpdk: add dpdk_pci_init() 2022-09-23 08:01:01 +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: add dpdk_pci_init() 2022-09-23 08:01:01 +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