+30
−22
Loading
If user passes --no-huge as part of env_context, do not add other huge-related options to the EAL command line. Instead emit an error message and return failure, if any of them were specified explicitly. Fixes c833f6aa ("env_dpdk: unlink hugepages if shm_id is not specified") Fixes issue #2973. Signed-off-by:Jim Harris <james.r.harris@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17483 (master) (cherry picked from commit db6297b5) Change-Id: I7aa49e4af5f3c333fa1e7dec4e3f5b4b92e7d414 Signed-off-by:
Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17705 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>