add lcore set name and get name API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | eal: add lcore set name and get name APIlib/ lib/ lib/ +8 more | +169 | 4 replies | |
| 2/5 | eal: set lcore config thread for lcore mainlib/ | +3 | 0 replies | |
| 3/5 | test: add a unit test for set and get lcore name APIsapp/ | +52 | 0 replies | |
| 4/5 | eal: remove thread getname APIlib/ lib/ lib/ +1 more | +0 | 0 replies | |
| 5/5 | eal: deprecate rte thread setname APIdoc/ lib/ | +5 | 0 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.
| Patch | Morten Brørup | David Marchand | Jerin Jacob | Thomas Monjalon |
|---|---|---|---|---|
| Series | Series-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.
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