numam-spdk/test/env
Ben Walker 8f7d9ec2f4 env/dpdk: Use the DPDK device count for IOMMU mapping
The VFIO container must have at least one device present to
be able to perform DMA mapping operations. Instead of using
the count of SPDK devices, use the count of DPDK devices. This
allows for the user of SPDK's memory management APIs even if
only a DPDK device is attached.

Change-Id: Ie7e21f09bdf1cdf1a85424c35212f64f24ae4e26
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3874
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2021-01-22 18:32:53 +00:00
..
env_dpdk_post_init env_dpdk: tell spdk_mem_map_init whether legacy_mem was specified 2019-12-11 11:05:10 +00:00
mem_callbacks env_dpdk: drop DPDK 18.08 support 2020-07-23 20:48:47 +00:00
memory env/dpdk: Use the DPDK device count for IOMMU mapping 2021-01-22 18:32:53 +00:00
pci env_dpdk/pci: remove driver->is_registered 2020-07-23 20:48:47 +00:00
vtophys lib/env_dpdk: replace printf() and fprintf(stderr,) usage 2020-09-07 09:28:39 +00:00
env.sh test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
Makefile test: add mem_callbacks unit test 2019-03-12 13:58:57 +00:00