4d8c6a8440
We've had cases (especially with vhost) in the past where we have a valid vaddr but the backing page was not assigned yet. DPDK used to return 0 as the phys addr in these cases but now it returns RTE_BAD_IOVA. Unfortunately we don't have any tests currently in the test pool that hit this condition, but at least one user has an environment which hits it and this patch fixes their problem. Make sure we still work with older versions of DPDK as well. Fixes issue #260. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ie3c0ef54a3e34153bd0850ecfb2be4fcb92455b1 Reviewed-on: https://review.gerrithub.io/410071 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> |
||
---|---|---|
.. | ||
env_internal.h | ||
env.c | ||
env.mk | ||
init.c | ||
Makefile | ||
memory.c | ||
pci_ioat.c | ||
pci_nvme.c | ||
pci_virtio.c | ||
pci.c | ||
threads.c | ||
vtophys.c |