Spdk/lib/env_dpdk
Marcin Spiewak b3a5763436 app: use --lcores to map ids greater than 128
Fixes #2812

This patch adds	support	for '--lcores <map_list>'
parameter in spdk.
This parameter allow mapping of the lcores
to CPU IDs, if the system contains CPUs with IDs
greater	or equal to 128 (RTE_MAX_LCORE). Such CPUs
can not be directly included in core mask
specified in '-m <mask>' parameter, as the dpdk
rejects cores if IDs are greater than 127.
The only way to	use them in spdk is to map lcore
to CPU using --lcores parameters specified
in command line.
--lcores and -m parameters are mutually
exclusive. Please use only one of them.
Examples:
build/bin/nvmf_tgt --lcores 0@130
build/bin/nvmf_tgt --lcores 0@150,1@151
build/bin/nvmf_tgt --lcores "(5-7)@(10-12)"
build/bin/nvmf_tgt --lcores "(5-7)@(136,138,140)"

Change-Id: Ia92be4499c8daaa936b1a4357d52ae303d6f3eb1
Signed-off-by: Marcin Spiewak <marcin.spiewak@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17403
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
2023-04-10 17:58:20 +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 app: use --lcores to map ids greater than 128 2023-04-10 17:58:20 +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