[v5,01/26] bpf: make rte_bpf_dump and rte_bpf_convert stable API's

Message ID 20231020205759.195126-2-stephen@networkplumber.org (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series Promote many experimental API's to stable |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Stephen Hemminger Oct. 20, 2023, 8:57 p.m. UTC
  These two API's were introduced in 22.11 and can now be
made not experimental.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>
---
 lib/bpf/rte_bpf.h   | 2 --
 lib/bpf/version.map | 9 ++-------
 2 files changed, 2 insertions(+), 9 deletions(-)
  

Patch

diff --git a/lib/bpf/rte_bpf.h b/lib/bpf/rte_bpf.h
index 4d71120dbd9d..f70d8dacd0d3 100644
--- a/lib/bpf/rte_bpf.h
+++ b/lib/bpf/rte_bpf.h
@@ -209,7 +209,6 @@  rte_bpf_get_jit(const struct rte_bpf *bpf, struct rte_bpf_jit *jit);
  * @param len
  *   Number of BPF instructions to dump.
  */
-__rte_experimental
 void
 rte_bpf_dump(FILE *f, const struct ebpf_insn *buf, uint32_t len);
 
@@ -229,7 +228,6 @@  struct bpf_program;
  *   - ENOMEM - can't reserve enough memory
  *   - ENOTSUP - operation not supported
  */
-__rte_experimental
 struct rte_bpf_prm *
 rte_bpf_convert(const struct bpf_program *prog);
 
diff --git a/lib/bpf/version.map b/lib/bpf/version.map
index c49bf1701f0a..2e957494e9df 100644
--- a/lib/bpf/version.map
+++ b/lib/bpf/version.map
@@ -1,7 +1,9 @@ 
 DPDK_24 {
 	global:
 
+	rte_bpf_convert;
 	rte_bpf_destroy;
+	rte_bpf_dump;
 	rte_bpf_elf_load;
 	rte_bpf_eth_rx_elf_load;
 	rte_bpf_eth_rx_unload;
@@ -14,10 +16,3 @@  DPDK_24 {
 
 	local: *;
 };
-
-EXPERIMENTAL {
-	global:
-
-	rte_bpf_convert;
-	rte_bpf_dump;
-};