Spdk/lib
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
..
accel accel/idxd/iaa: Convert to use iovecs 2022-09-23 00:10:08 +00:00
bdev bdev: send bdev reset based on outstanding IO and a new timeout parameter 2022-09-22 19:18:30 +00:00
blob blob: Add functions to find [un]allocated io_unit 2022-09-15 08:23:56 +00:00
blobfs blob: Optimize copy-on-write flow for clusters backed by zeroes device 2022-09-05 12:49:46 +00:00
conf Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
dma check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
env_dpdk env_dpdk: add dpdk_pci_init() 2022-09-23 08:01:01 +00:00
env_ocf check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
event event: pass "const struct option*" to spdk_app_parse_args() 2022-09-13 10:48:58 +00:00
ftl FTL: close ftl bdev in original thread 2022-09-22 07:10:03 +00:00
idxd accel/idxd/iaa: Convert to use iovecs 2022-09-23 00:10:08 +00:00
init init: Avoid calling RPC methods twice 2022-09-15 08:25:18 +00:00
ioat check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
iscsi print better errors when creating mempools from secondary process 2022-08-29 11:41:32 +00:00
json json: fix parsing json problems when json config is invalid. 2022-09-02 07:32:21 +00:00
jsonrpc check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
log Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
lvol blobstore: implement spdk_bs_grow and bdev_lvol_grow_lvstore RPC 2022-06-28 17:55:43 +00:00
nbd lib/nbd: return nbd_poll idle or busy accordingly 2022-09-22 07:51:46 +00:00
notify Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
nvme lib/nvme: disable multi c2hs crc32 offload at host 2022-09-21 17:01:46 +00:00
nvmf nvmf/tcp: add in_capsule_data_size check before init 2022-09-22 22:13:19 +00:00
rdma rdma: Maintain per device PD which is persistent across reconnect 2022-08-12 08:59:43 +00:00
reduce check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
rocksdb Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
rpc rpc: Add API to get method state mask 2022-09-15 08:25:18 +00:00
scsi lib/scsi: use bkdr hash to avoid naa identifier collision 2022-08-03 07:43:10 +00:00
sock sock: make impl_name const char * in all functions 2022-09-05 12:49:28 +00:00
thread thread: defer unregistration when for_each ops exist 2022-08-09 08:27:15 +00:00
trace trace: allocate shm filesize based on number of cores used 2022-09-20 10:17:45 +00:00
trace_parser trace: allocate shm filesize based on number of cores used 2022-09-20 10:17:45 +00:00
ut_mock Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
util configure/misc: make ISA-L a hard dependency 2022-09-20 10:18:54 +00:00
vfio_user lib/vfio_user: change the calculation of bar_addr 2022-06-15 08:10:32 +00:00
vhost vhost: register memtable once if unchanged 2022-09-19 13:12:24 +00:00
virtio virtio: assert and ERRLOG for virtio-user dynamic mem allocations 2022-09-09 13:06:15 +00:00
vmd lib/vmd: return -1 if NVMe driver is not found 2022-09-05 12:50:06 +00:00
Makefile ftl: core structure 2022-07-11 07:23:58 +00:00