Spdk/lib/env_dpdk
Jim Harris db6297b501 env_dpdk: omit huge-related options when --no-huge specified
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>
Change-Id: I7aa49e4af5f3c333fa1e7dec4e3f5b4b92e7d414
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17483
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2023-04-06 21:32:03 +00:00
..
22.07 env_dpdk: DPDK 22.07 PCI now includes in-tree headers 2022-12-16 09:27:11 +00:00
22.11 env_dpdk: align copyright notice with DPDK 2022-12-15 08:41:05 +00:00
env_internal.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
env.c env_dpdk: Add function to iterate memory chunks in a pool 2023-01-20 17:56:34 +00:00
env.mk module/accel: Add compressDev accel_module 2023-01-19 11:16:01 +00:00
init.c env_dpdk: omit huge-related options when --no-huge specified 2023-04-06 21:32:03 +00:00
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
memory.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_dpdk_2207.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_dpdk_2211.c env_dpdk: allow 2211.c file to build against older DPDK 2022-11-15 08:31:28 +00:00
pci_dpdk.c env_dpdk: add support for DPDK main branch 2023-04-06 20:14:27 +00:00
pci_dpdk.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_event.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_idxd.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_ioat.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_virtio.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci_vmd.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
pci.c env_dpdk: don't call remove_rte_dev from secondary proc 2023-01-27 08:46:05 +00:00
sigbus_handler.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_env_dpdk.map env: expose function to get main core 2023-01-31 10:31:04 +00:00
threads.c env: expose function to get main core 2023-01-31 10:31:04 +00:00