Skip to content

Commit

Permalink
bitrate: promote free function to stable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
kevintraynor authored and tmonjalo committed Oct 1, 2021
1 parent bdd478e commit 4ad8807
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions lib/bitratestats/rte_bitrate.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

#include <stdint.h>

#include <rte_compat.h>

#ifdef __cplusplus
extern "C" {
#endif
Expand All @@ -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);

/**
Expand Down
7 changes: 1 addition & 6 deletions lib/bitratestats/version.map
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

0 comments on commit 4ad8807

Please sign in to comment.