Skip to content

RFC make lcore_config less visible

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5eal: add accessor functions for lcore_configdoc/guides/rel_notes/release_19_05.rst lib/librte_eal/common/eal_common_lcore.c lib/librte_eal/common/include/rte_lcore.h+96 -142 replies
2/5bus: use lcore accessor functionsdrivers/bus/dpaa/dpaa_bus.c drivers/bus/fslmc/portal/dpaa2_hw_dpio.c+7 -30 replies
3/5examples/bond: use lcore accessorexamples/bond/main.c+2 -20 replies
4/5app/test: use lcore accessor functionsapp/test/test_cryptodev.c app/test/test_hash_readwrite_lf.c app/test/test_ring_perf.c+19 -170 replies
5/5eal: make lcore_config privatelib/librte_eal/common/eal_common_launch.c lib/librte_eal/common/eal_private.h lib/librte_eal/common/include/rte_lcore.h +2 more+26 -250 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/5] make lcore_config less visible

This is a compile tested only set of patches to make the current lcore_config structure internal to EAL.

The first 4 would go into current release, and the last would go into later release to make it fully internal.

Stephen Hemminger (5):
eal: add accessor functions for lcore_config
bus: use lcore accessor functions
examples/bond: use lcore accessor
app/test: use lcore accessor functions
eal: make lcore_config private

 app/test/test_cryptodev.c                 |  2 +-
 app/test/test_hash_readwrite_lf.c         | 12 ++--
 app/test/test_ring_perf.c                 | 22 +++---
 doc/guides/rel_notes/release_19_05.rst    |  7 ++
 drivers/bus/dpaa/dpaa_bus.c               |  6 +-
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c  |  4 +-
 examples/bond/main.c                      |  4 +-
 lib/librte_eal/common/eal_common_launch.c |  2 +
 lib/librte_eal/common/eal_common_lcore.c  | 46 +++++++++++++
 lib/librte_eal/common/eal_private.h       | 22 ++++++
 lib/librte_eal/common/include/rte_lcore.h | 81 ++++++++++++-----------
 lib/librte_eal/common/rte_service.c       |  2 +
 lib/librte_eal/rte_eal_version.map        |  1 -
 13 files changed, 150 insertions(+), 61 deletions(-)
Signature · 1 line
2.17.1