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 <ktraynor@redhat.com>
This commit is contained in:
Kevin Traynor 2021-07-09 16:19:38 +01:00 committed by Thomas Monjalon
parent bdd478eede
commit 4ad8807cfc
2 changed files with 1 additions and 9 deletions

View File

@ -7,8 +7,6 @@
#include <stdint.h>
#include <rte_compat.h>
#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);
/**

View File

@ -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;
};