Skip to content

add lcore set name and get name API

Tyler Retzlaff dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5eal: add lcore set name and get name APIlib/eal/common/eal_common_lcore.c lib/eal/common/eal_common_thread.c lib/eal/common/eal_common_trace.c +8 more+169 -134 replies
2/5eal: set lcore config thread for lcore mainlib/eal/common/eal_common_thread.c+3 -00 replies
3/5test: add a unit test for set and get lcore name APIsapp/test/test_lcores.c+52 -00 replies
4/5eal: remove thread getname APIlib/eal/freebsd/eal_thread.c lib/eal/include/rte_lcore.h lib/eal/linux/eal_thread.c +1 more+0 -420 replies
5/5eal: deprecate rte thread setname APIdoc/guides/rel_notes/deprecation.rst lib/eal/include/rte_lcore.h+5 -00 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMorten BrørupDavid MarchandJerin JacobThomas Monjalon
SeriesSeries-acked-by Series-acked-by Series-acked-by Series-acked-by Series-acked-by Series-acked-by Series-acked-by Series-acked-by Series-acked-by A-b A-b A-b A-b A-b Series-acked-by A-b A-b A-b A-b Series-acked-by A-b A-b A-b A-b Series-acked-by A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] add lcore set name and get name API

Set the lcore_config[].thread_id for the main lcore.

Introduce 2 new public APIs rte_lcore_set_name and rte_lcore_get_name that allow set and get of the lcore name and if the underlying platform supports it sets the platform-specific thread name.

Remove rte_thread_getname API

Deprecate rte_thread_setname public API and provide replacement rte_thread_set_name internal API for use by the EAL.

Add basic unit test for new APIs

Tyler Retzlaff (5):
eal: add lcore set name and get name API
eal: set lcore config thread for lcore main
test: add a unit test for set and get lcore name APIs
eal: remove thread getname API
eal: deprecate rte thread setname API

 app/test/test_lcores.c               | 52 ++++++++++++++++++++++++++++++
 doc/guides/rel_notes/deprecation.rst |  4 +++
 lib/eal/common/eal_common_lcore.c    | 32 +++++++++++++++++++
 lib/eal/common/eal_common_thread.c   | 18 ++++++-----
 lib/eal/common/eal_common_trace.c    |  2 +-
 lib/eal/freebsd/eal.c                |  5 ++-
 lib/eal/freebsd/eal_thread.c         | 15 ++++-----
 lib/eal/include/rte_lcore.h          | 62 ++++++++++++++++++++++++++----------
 lib/eal/include/rte_thread.h         |  8 +++++
 lib/eal/linux/eal.c                  |  5 ++-
 lib/eal/linux/eal_thread.c           | 18 +++++++----
 lib/eal/version.map                  |  6 +++-
 lib/eal/windows/rte_thread.c         | 41 ++++++++++++++++++++++++
 13 files changed, 221 insertions(+), 47 deletions(-)
Signature · 1 line
1.8.3.1