Skip to content

Extend --lcores to run on cores > RTE_MAX_LCORE

David Marchand dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4eal/windows: fix cpuset macro namelib/librte_eal/windows/eal/include/sched.h+4 -40 replies
2/4eal: do not cache lcore detection statelib/librte_eal/common/eal_common_lcore.c lib/librte_eal/common/eal_common_options.c lib/librte_eal/common/eal_private.h+6 -90 replies
3/4eal: display all detected cores at startuplib/librte_eal/common/eal_common_lcore.c+8 -00 replies
4/4eal: remove limitation on cpuset with --lcoresdrivers/bus/fslmc/portal/dpaa2_hw_dpio.c lib/librte_eal/common/eal_common_options.c lib/librte_eal/common/eal_common_thread.c+50 -480 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [dpdk-dev] [PATCH 0/4] Extend --lcores to run on cores > RTE_MAX_LCORE

We are currently stuck with no option but recompile a DPDK if the system has more cores than RTE_MAX_LCORE.
A bit of a pity when you get a system with more than 200+ cores and your testpmd has been built and packaged with RTE_MAX_LCORE == 128.

The --lcores does not need to care about the underlying cores, remove this limitation.

Signature · 18 lines
David Marchand

David Marchand (4):
  eal/windows: fix cpuset macro name
  eal: do not cache lcore detection state
  eal: display all detected cores at startup
  eal: remove limitation on cpuset with --lcores

 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c   | 31 +++++----
 lib/librte_eal/common/eal_common_lcore.c   | 12 +++-
 lib/librte_eal/common/eal_common_options.c | 73 +++++++++++-----------
 lib/librte_eal/common/eal_common_thread.c  |  4 +-
 lib/librte_eal/common/eal_private.h        |  1 -
 lib/librte_eal/windows/eal/include/sched.h |  8 +--
 6 files changed, 68 insertions(+), 61 deletions(-)

-- 
2.23.0