numam-spdk/lib/env_dpdk
Shuhei Matsumoto 3c4199d6c6 env_dpdk: Run DPDK in legacy memory mode through spdk_env_opts
Some customized SPDK application needs DPDK to run legacy memory mode,
but it is  unusual. So this patch uses env_context, the opaque option
variable in the struct spdk_env_opts, and if the application sets
"--legacy-mem" to it, spdk_env_opts_init() skips adding
"--match-allocations" for DPDK 19.02 or later and skips adding
"--legacy-mem" for DPDK 18.05 or before.

Change-Id: I6f40c726c66c29f0aabfeeaecd00611954dc774f
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/448263
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-03-26 12:00:36 +00:00
..
env_internal.h env/dpdk: drop support for DPDK < 17.11 2019-03-20 21:05:33 +00:00
env.c env: add flag RING_F_EXACT_SZ to spdk_ring_create 2019-03-21 14:07:03 +00:00
env.mk configure: add option not to use the internal rte_vhost copy 2019-03-13 14:26:20 +00:00
init.c env_dpdk: Run DPDK in legacy memory mode through spdk_env_opts 2019-03-26 12:00:36 +00:00
Makefile env_dpdk: move vtophys.c contents to memory.c 2019-02-20 16:41:46 +00:00
memory.c env/dpdk: drop support for DPDK < 17.11 2019-03-20 21:05:33 +00:00
pci_ioat.c ioat: add device IDs for new CB-DMA engines 2019-02-26 06:50:52 +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 env/dpdk: drop support for DPDK < 17.11 2019-03-20 21:05:33 +00:00
threads.c env: drop DPDK 16.07 support 2018-11-30 19:59:34 +00:00