Spdk/lib
Jim Harris 8dc878483d env_dpdk: allow 2211.c file to build against older DPDK
The 2211 implementation only gets used when runtime
detects the DPDK version is DPDK 22.11. But we still
compile this file even if it gets built against an
older DPDK.

This is typically fine, except there are some interrupt
APIs that changed in DPDK 21.11, so older DPDKs don't
have some of the functions used in this file.  We need
to use ifdefs to allow this to compile.

We will need some more work to handle this case properly,
but this patch at least fixes the 2211.c case for now.
We will probably need a 2108.c file that exactly matches
the 2207.c file except for this interrupt API changes.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I6055694ccbb79845798e750ebb7127ec6c160e2e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15236
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Michal Berger <michal.berger@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
2022-11-15 08:31:28 +00:00
..
accel update Intel copyright notices 2022-11-10 08:28:53 +00:00
bdev update Intel copyright notices 2022-11-10 08:28:53 +00:00
blob update Intel copyright notices 2022-11-10 08:28:53 +00:00
blobfs update Intel copyright notices 2022-11-10 08:28:53 +00:00
conf update Intel copyright notices 2022-11-10 08:28:53 +00:00
dma update Intel copyright notices 2022-11-10 08:28:53 +00:00
env_dpdk env_dpdk: allow 2211.c file to build against older DPDK 2022-11-15 08:31:28 +00:00
env_ocf update Intel copyright notices 2022-11-10 08:28:53 +00:00
event lib/rpc: add RPC allow list 2022-11-15 08:31:02 +00:00
ftl update Intel copyright notices 2022-11-10 08:28:53 +00:00
idxd update Intel copyright notices 2022-11-10 08:28:53 +00:00
init update Intel copyright notices 2022-11-10 08:28:53 +00:00
ioat update Intel copyright notices 2022-11-10 08:28:53 +00:00
iscsi update Intel copyright notices 2022-11-10 08:28:53 +00:00
json update Intel copyright notices 2022-11-10 08:28:53 +00:00
jsonrpc update Intel copyright notices 2022-11-10 08:28:53 +00:00
log update Intel copyright notices 2022-11-10 08:28:53 +00:00
lvol update Intel copyright notices 2022-11-10 08:28:53 +00:00
nbd update Intel copyright notices 2022-11-10 08:28:53 +00:00
notify update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvme update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvmf update Intel copyright notices 2022-11-10 08:28:53 +00:00
rdma update Intel copyright notices 2022-11-10 08:28:53 +00:00
reduce update Intel copyright notices 2022-11-10 08:28:53 +00:00
rocksdb update Intel copyright notices 2022-11-10 08:28:53 +00:00
rpc lib/rpc: add RPC allow list 2022-11-15 08:31:02 +00:00
scsi update Intel copyright notices 2022-11-10 08:28:53 +00:00
sock update Intel copyright notices 2022-11-10 08:28:53 +00:00
thread update Intel copyright notices 2022-11-10 08:28:53 +00:00
trace update Intel copyright notices 2022-11-10 08:28:53 +00:00
trace_parser update Intel copyright notices 2022-11-10 08:28:53 +00:00
ut_mock update Intel copyright notices 2022-11-10 08:28:53 +00:00
util lib/util: add strarray utility functions 2022-11-15 08:31:02 +00:00
vfio_user update Intel copyright notices 2022-11-10 08:28:53 +00:00
vfu_tgt update Intel copyright notices 2022-11-10 08:28:53 +00:00
vhost update Intel copyright notices 2022-11-10 08:28:53 +00:00
virtio update Intel copyright notices 2022-11-10 08:28:53 +00:00
vmd update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00