+14
−3
Loading
Currently, the SPDK "core_mask" environment option only supports setting either "-l" or "-c". Allow applications to specify more complicated options by sniffing for a leading "-", and passing that string through unchanged. This allows, for example, --lcores to be used as described here: https://doc.dpdk.org/guides/linux_gsg/linux_eal_parameters.html Signed-off-by:John Levon <john.levon@nutanix.com> Change-Id: I38cc54bfcd356f3176cde7848e592525f9231e3d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7933 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Ziye Yang <ziye.yang@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>