Spdk/lib/env_dpdk
Darek Stojaczyk 5e0a97223b env/dpdk: always set base-virtaddr
DPDK 18.11 sets the default base-virtaddr to an address
that falls into an area reserved by ASAN. DPDK will try
to remap its memory over and over with the closest
base-virtaddr hint and for ASAN case this would take
a huge amount of time.

This was already raised on DPDK mailing list [1] and
might be eventually fixed or worked around in upstream,
but for now let's just override the default base-virtaddr
to a value that ASAN is known not to occupy.

[1] http://patches.dpdk.org/patch/46130/#88395

Change-Id: Ieada30e82355e8ead458e53795ab98cd12692c1c
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/431257 (master)
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/448380
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-03-22 08:16:19 +00:00
..
env_internal.h memory: fix contiguous memory calculation for unaligned buffers 2018-12-06 17:08:38 +00:00
env.c env: Fix spdk_ring creation and access. 2018-09-20 21:51:55 +00:00
env.mk mk: add spdk_lib_list_to_shared_libs 2018-10-15 16:44:36 +00:00
init.c env/dpdk: always set base-virtaddr 2019-03-22 08:16:19 +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-14 17:59:03 +00:00
pci_ioat.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_nvme.c dpdk/pci: support DPDK 18.08 write combined PCI resources 2018-08-15 17:43:30 +00:00
pci_virtio.c dpdk/pci: support DPDK 18.08 write combined PCI resources 2018-08-15 17:43:30 +00:00
pci.c pci: use the new hotplug API for DPDK 18.11+ 2019-03-22 08:16:19 +00:00
threads.c env/dpdk: add security checks to spdk_env_get_socket_id() 2018-09-10 17:23:39 +00:00
vtophys.c env_dpdk: spdk_mem_map_translate informs user of translation size. 2018-09-26 20:57:57 +00:00