Spdk/lib/env_dpdk
Tomasz Zawadzki c34f15e09c env_dpdk: keep DPDK 20.11 compatiblity
Patch below added copies of pci realted headers to keep
compatiblity with <= DPDK 22.07.
(1eb35ac) env_dpdk: add copies of 22.07 pci-related header files

Unfortunetly the rte_bus/bus_pci/dev headers from DPDK 22.07 are
not compatibile going back to DPDK 20.11.

The issues are:
- lack of RTE_TAILQ_ENTRY defined in rte_os.h
- rte_intr_handle being part of rte_pci_device rather than pointer

pci_dpdk_2207.c even before this patch is not binary compatible with
DPDK 20.11 - see pci_device_*_interrupt_2207() functions.
There would need to be another copy of headers matching that version
of DPDK to resolve this issue.

SPDK supports up to two latest LTS releases. Which right now includes
DPDK 20.11, but soon will be dropped due to DPDK 22.11 release.

Having compile time defines here, keeps the older DPDK working.
Meanwhile backwards compatiblity in SPDK is no worse than before.
The recent changes to env_dpdk, are aiming to improve support
with newer versions of DPDK.

Change-Id: If4dc601cb03e18c2cad61f3a93080e8265ca5fcc
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14795
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-09-30 15:56:33 +00:00
..
22.07 env_dpdk: keep DPDK 20.11 compatiblity 2022-09-30 15:56:33 +00:00
env_internal.h env_dpdk: Automatically map PCI BARs into VFIO 2022-09-26 11:48:39 +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: add dpdk_pci_device_get_mem_resource 2022-09-29 15:32:24 +00:00
pci_dpdk_2207.c env_dpdk: add dpdk_pci_device_get_mem_resource 2022-09-29 15:32:24 +00:00
pci_dpdk.c env_dpdk: add dpdk_pci_device_get_mem_resource 2022-09-29 15:32:24 +00:00
pci_dpdk.h env_dpdk: keep DPDK 20.11 compatiblity 2022-09-30 15:56:33 +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_device_get_mem_resource 2022-09-29 15:32:24 +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