From 7a6c69283a8aeb319825fa1590d0e5aaba6bfa60 Mon Sep 17 00:00:00 2001 From: Darek Stojaczyk Date: Wed, 26 Sep 2018 09:09:41 +0200 Subject: [PATCH] env_dpdk: always use legacy memory management Dynamic memory management was broken in DPDK 18.05 and got fixed in 18.08/18.05.1, but SPDK still needs a couple of patches to ensure we support it. While those patches slowly make their way through the review process, let's stick with legacy mem mgmt for all DPDK versions. Change-Id: I6a0bc7b46b28dd75bef6847dde1ef57dc60a829e Signed-off-by: Darek Stojaczyk Reviewed-on: https://review.gerrithub.io/426817 Tested-by: SPDK CI Jenkins Chandler-Test-Pool: SPDK Automated Test System Reviewed-by: Ben Walker Reviewed-by: Changpeng Liu --- lib/env_dpdk/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/env_dpdk/init.c b/lib/env_dpdk/init.c index 5e7c6e158..de6ac410d 100644 --- a/lib/env_dpdk/init.c +++ b/lib/env_dpdk/init.c @@ -289,7 +289,7 @@ spdk_build_eal_cmdline(const struct spdk_env_opts *opts) } } -#if RTE_VERSION >= RTE_VERSION_NUM(18, 05, 0, 0) && RTE_VERSION < RTE_VERSION_NUM(18, 8, 0, 0) +#if RTE_VERSION >= RTE_VERSION_NUM(18, 05, 0, 0) /* SPDK holds off with using the new memory management model just yet */ args = spdk_push_arg(args, &argcount, _sprintf_alloc("--legacy-mem")); if (args == NULL) {