From: Kevin Traynor Date: Fri, 9 Jul 2021 15:19:38 +0000 (+0100) Subject: bitrate: promote free function to stable X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4ad8807cfc9b66a90b46682e3eafb493a42a15b2;p=dpdk.git bitrate: promote free function to stable rte_stats_bitrate_free() has been in DPDK since 20.11. Its signature is very basic as it just frees an opaque data struct allocated in rte_stats_bitrate_create() and returns void. It's unlikely that such a basic signature would need to change so might as well promote it to stable for the next major ABI. Signed-off-by: Kevin Traynor --- diff --git a/lib/bitratestats/rte_bitrate.h b/lib/bitratestats/rte_bitrate.h index fcd1564ddc..e494389b95 100644 --- a/lib/bitratestats/rte_bitrate.h +++ b/lib/bitratestats/rte_bitrate.h @@ -7,8 +7,6 @@ #include -#include - #ifdef __cplusplus extern "C" { #endif @@ -35,7 +33,6 @@ struct rte_stats_bitrates *rte_stats_bitrate_create(void); * @param bitrate_data * Pointer allocated by rte_stats_bitrate_create() */ -__rte_experimental void rte_stats_bitrate_free(struct rte_stats_bitrates *bitrate_data); /** diff --git a/lib/bitratestats/version.map b/lib/bitratestats/version.map index c15e34d82c..01c61670dd 100644 --- a/lib/bitratestats/version.map +++ b/lib/bitratestats/version.map @@ -3,13 +3,8 @@ DPDK_22 { rte_stats_bitrate_calc; rte_stats_bitrate_create; + rte_stats_bitrate_free; rte_stats_bitrate_reg; local: *; }; - -EXPERIMENTAL { - global: - - rte_stats_bitrate_free; -};