[v4,05/28] pdump: make API's stable

Message ID 20231019191016.156430-6-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. 19, 2023, 7:09 p.m. UTC
  The filtering API's were added in 23.11 and can now be marked
as not experimental.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/pdump/rte_pdump.h | 12 ------------
 lib/pdump/version.map | 11 +++--------
 2 files changed, 3 insertions(+), 20 deletions(-)
  

Patch

diff --git a/lib/pdump/rte_pdump.h b/lib/pdump/rte_pdump.h
index b1a391830c1d..414931a12cce 100644
--- a/lib/pdump/rte_pdump.h
+++ b/lib/pdump/rte_pdump.h
@@ -83,9 +83,6 @@  rte_pdump_enable(uint16_t port, uint16_t queue, uint32_t flags,
 		void *filter);
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change, or be removed, without prior notice
- *
  * Enables packet capturing on given port and queue with filtering.
  *
  * @param port_id
@@ -109,7 +106,6 @@  rte_pdump_enable(uint16_t port, uint16_t queue, uint32_t flags,
  * @return
  *    0 on success, -1 on error, rte_errno is set accordingly.
  */
-__rte_experimental
 int
 rte_pdump_enable_bpf(uint16_t port_id, uint16_t queue,
 		     uint32_t flags, uint32_t snaplen,
@@ -169,9 +165,6 @@  rte_pdump_enable_by_deviceid(char *device_id, uint16_t queue,
 				void *filter);
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change, or be removed, without prior notice
- *
  * Enables packet capturing on given device id and queue with filtering.
  * device_id can be name or pci address of device.
  *
@@ -196,7 +189,6 @@  rte_pdump_enable_by_deviceid(char *device_id, uint16_t queue,
  * @return
  *    0 on success, -1 on error, rte_errno is set accordingly.
  */
-__rte_experimental
 int
 rte_pdump_enable_bpf_by_deviceid(const char *device_id, uint16_t queue,
 				 uint32_t flags, uint32_t snaplen,
@@ -242,9 +234,6 @@  struct rte_pdump_stats {
 };
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change, or be removed, without prior notice
- *
  * Retrieve the packet capture statistics for a queue.
  *
  * @param port_id
@@ -254,7 +243,6 @@  struct rte_pdump_stats {
  * @return
  *   Zero if successful. -1 on error and rte_errno is set.
  */
-__rte_experimental
 int
 rte_pdump_stats(uint16_t port_id, struct rte_pdump_stats *stats);
 
diff --git a/lib/pdump/version.map b/lib/pdump/version.map
index 225830dc85a7..ea5bd157cdb1 100644
--- a/lib/pdump/version.map
+++ b/lib/pdump/version.map
@@ -4,17 +4,12 @@  DPDK_24 {
 	rte_pdump_disable;
 	rte_pdump_disable_by_deviceid;
 	rte_pdump_enable;
+	rte_pdump_enable_bpf;
+	rte_pdump_enable_bpf_by_deviceid;
 	rte_pdump_enable_by_deviceid;
 	rte_pdump_init;
+	rte_pdump_stats;
 	rte_pdump_uninit;
 
 	local: *;
 };
-
-EXPERIMENTAL {
-	global:
-
-	rte_pdump_enable_bpf;
-	rte_pdump_enable_bpf_by_deviceid;
-	rte_pdump_stats;
-};