+10
−6
Loading
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>