Spdk/lib/env_dpdk
Seth Howell 7245134ab0 memory: return first translation from mem_map_translate
This should have always been the case with spdk_mem_map_translate. For
some memory maps (like RDMA) this doesn't matter, but for others like
our virtual to physical map, this is critical for retrieving valid
translations.

This behavior change will only affect maps that have a registered
contiguous memory callback.

Change-Id: I67517667f01d974702d7daa7c81238281aae0cf6
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/436562
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-12-13 22:27:21 +00:00
..
env_internal.h env: make the generic device attach API public 2018-12-06 03:41:32 +00:00
env.c env: drop DPDK 16.07 support 2018-11-30 19:59:34 +00:00
env.mk dpdkbuild: stop building ipsec library with make 2018-10-31 21:55:37 +00:00
init.c pci: register dpdk pci drivers right after init 2018-12-04 15:41:21 +00:00
Makefile env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
memory.c memory: return first translation from mem_map_translate 2018-12-13 22:27:21 +00:00
pci_ioat.c pci: remove ioat-specific attach functions 2018-12-07 17:24:19 +00:00
pci_nvme.c pci: remove nvme-specific attach functions 2018-12-07 17:24:19 +00:00
pci_virtio.c pci: remove virtio-specific attach functions 2018-12-07 17:24:19 +00:00
pci.c pci: introduce pci hooks 2018-12-06 03:41:32 +00:00
threads.c env: drop DPDK 16.07 support 2018-11-30 19:59:34 +00:00
vtophys.c env: drop DPDK 16.07 support 2018-11-30 19:59:34 +00:00