[2/3] eal: mark rte_lcore_register_usage_cb stable
Checks
Commit Message
This API was added back in 23.03, can be marked stable now.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
lib/eal/include/rte_lcore.h | 4 ----
lib/eal/version.map | 2 +-
2 files changed, 1 insertion(+), 5 deletions(-)
Comments
Stephen Hemminger, Sep 04, 2024 at 20:08:
> This API was added back in 23.03, can be marked stable now.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Thanks Stephen, this is used in grout and works properly.
https://github.com/DPDK/grout/blob/v0.2/modules/infra/control/worker.c#L303-L321
Acked-by: Robin Jarry <rjarry@redhat.com>
@@ -359,9 +359,6 @@ struct rte_lcore_usage {
typedef int (*rte_lcore_usage_cb)(unsigned int lcore_id, struct rte_lcore_usage *usage);
/**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
* Register a callback from an application to be called in rte_lcore_dump() and
* the /eal/lcore/info telemetry endpoint handler. Applications are expected to
* report lcore usage statistics via this callback.
@@ -373,7 +370,6 @@ typedef int (*rte_lcore_usage_cb)(unsigned int lcore_id, struct rte_lcore_usage
* @param cb
* The callback function.
*/
-__rte_experimental
void rte_lcore_register_usage_cb(rte_lcore_usage_cb cb);
/**
@@ -165,6 +165,7 @@ DPDK_25 {
rte_lcore_iterate;
rte_lcore_to_cpu_id;
rte_lcore_to_socket_id;
+ rte_lcore_register_usage_cb;
rte_malloc;
rte_malloc_dump_heaps;
rte_malloc_dump_stats;
@@ -387,7 +388,6 @@ EXPERIMENTAL {
__rte_eal_trace_generic_size_t; # WINDOWS_NO_EXPORT
# added in 23.03
- rte_lcore_register_usage_cb;
__rte_eal_trace_generic_blob;
# added in 23.07