8f7d9ec2f4
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> |
||
---|---|---|
.. | ||
env_dpdk_post_init | ||
mem_callbacks | ||
memory | ||
pci | ||
vtophys | ||
env.sh | ||
Makefile |