Re: [PATCH v2] service: add service maintenance callback

2025-01-22 Thread Piotr Krzewinski
On 1/7/2025 11:01 AM, Mattias Rönnblom wrote: > On 2024-12-31 11:02, Piotr Krzewinski wrote: >> Add option to register a callback running on service lcores >> along regular services, which gets information about the service loop. >> It enables doing maintenance work or power

[PATCH v2] service: add service maintenance callback

2024-12-31 Thread Piotr Krzewinski
to other event ports. Signed-off-by: Piotr Krzewinski --- v2: * Fixed unittest and doxygen issues --- app/test/test_service_cores.c | 54 +++ lib/eal/common/rte_service.c | 52 - lib/eal/include/rte_service.h | 34

[PATCH] service: add service maintenance callback

2024-12-30 Thread Piotr Krzewinski
to other event ports. Signed-off-by: Piotr Krzewinski --- app/test/test_service_cores.c | 54 +++ lib/eal/common/rte_service.c | 48 ++- lib/eal/include/rte_service.h | 33 + lib/eal/version.map | 4 +++ 4

[PATCH] service: fix getting service lcore attributes

2024-12-20 Thread Piotr Krzewinski
Perf test service_perf_autotest was failing after introduction of lcore variables. Fixed getting of idle_ and error_ service call statistics. Fixes: b24bbaedbba2 ("service: keep per-lcore state in lcore variable") Cc: mattias.ronnb...@ericsson.com Cc: sta...@dpdk.org Signed-off