[v4,22/28] bbdev: remove experimental tag

Message ID 20231019191016.156430-23-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:10 p.m. UTC
  The API's for bbdev were last added to in 22.11.
Remove experimental flag now.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/bbdev/rte_bbdev.h    |  4 ----
 lib/bbdev/rte_bbdev_op.h |  2 --
 lib/bbdev/version.map    | 15 +++++++--------
 3 files changed, 7 insertions(+), 14 deletions(-)
  

Comments

Maxime Coquelin Oct. 20, 2023, 8:14 a.m. UTC | #1
On 10/19/23 21:10, Stephen Hemminger wrote:
> The API's for bbdev were last added to in 22.11.
> Remove experimental flag now.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>   lib/bbdev/rte_bbdev.h    |  4 ----
>   lib/bbdev/rte_bbdev_op.h |  2 --
>   lib/bbdev/version.map    | 15 +++++++--------
>   3 files changed, 7 insertions(+), 14 deletions(-)
> 
> diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h
> index d12e2e7fbcf3..b43e98ef9d1b 100644
> --- a/lib/bbdev/rte_bbdev.h
> +++ b/lib/bbdev/rte_bbdev.h
> @@ -675,7 +675,6 @@ rte_bbdev_enqueue_ldpc_dec_ops(uint16_t dev_id, uint16_t queue_id,
>    *   The number of operations actually enqueued.
>    *   (This is the number of processed entries in the @p ops array.)
>    */
> -__rte_experimental
>   static inline uint16_t
>   rte_bbdev_enqueue_fft_ops(uint16_t dev_id, uint16_t queue_id,
>   		struct rte_bbdev_fft_op **ops, uint16_t num_ops)
> @@ -860,7 +859,6 @@ rte_bbdev_dequeue_ldpc_dec_ops(uint16_t dev_id, uint16_t queue_id,
>    *   The number of operations actually dequeued (this is the number of entries
>    *   copied into the @p ops array).
>    */
> -__rte_experimental
>   static inline uint16_t
>   rte_bbdev_dequeue_fft_ops(uint16_t dev_id, uint16_t queue_id,
>   		struct rte_bbdev_fft_op **ops, uint16_t num_ops)
> @@ -1042,7 +1040,6 @@ rte_bbdev_queue_intr_ctl(uint16_t dev_id, uint16_t queue_id, int epfd, int op,
>    * @returns
>    *   Device status as string or NULL if invalid.
>    */
> -__rte_experimental
>   const char*
>   rte_bbdev_device_status_str(enum rte_bbdev_device_status status);
>   
> @@ -1055,7 +1052,6 @@ rte_bbdev_device_status_str(enum rte_bbdev_device_status status);
>    * @returns
>    *   Queue status as string or NULL if op_type is invalid.
>    */
> -__rte_experimental
>   const char*
>   rte_bbdev_enqueue_status_str(enum rte_bbdev_enqueue_status status);
>   
> diff --git a/lib/bbdev/rte_bbdev_op.h b/lib/bbdev/rte_bbdev_op.h
> index 369ac331bf9b..459631d0d0b7 100644
> --- a/lib/bbdev/rte_bbdev_op.h
> +++ b/lib/bbdev/rte_bbdev_op.h
> @@ -1130,7 +1130,6 @@ rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool,
>    *   - 0 on success.
>    *   - EINVAL if invalid mempool is provided.
>    */
> -__rte_experimental
>   static inline int
>   rte_bbdev_fft_op_alloc_bulk(struct rte_mempool *mempool,
>   		struct rte_bbdev_fft_op **ops, unsigned int num_ops)
> @@ -1220,7 +1219,6 @@ rte_bbdev_enc_op_free_bulk(struct rte_bbdev_enc_op **ops, unsigned int num_ops)
>    * @param num_ops
>    *   Number of structures.
>    */
> -__rte_experimental
>   static inline void
>   rte_bbdev_fft_op_free_bulk(struct rte_bbdev_fft_op **ops, unsigned int num_ops)
>   {
> diff --git a/lib/bbdev/version.map b/lib/bbdev/version.map
> index eeb7ed475a6c..1840d2b2a491 100644
> --- a/lib/bbdev/version.map
> +++ b/lib/bbdev/version.map
> @@ -10,11 +10,17 @@ DPDK_24 {
>   	rte_bbdev_dec_op_free_bulk;
>   	rte_bbdev_dequeue_dec_ops;
>   	rte_bbdev_dequeue_enc_ops;
> +	rte_bbdev_dequeue_fft_ops;
> +	rte_bbdev_device_status_str;
>   	rte_bbdev_devices;
>   	rte_bbdev_enc_op_alloc_bulk;
>   	rte_bbdev_enc_op_free_bulk;
>   	rte_bbdev_enqueue_dec_ops;
>   	rte_bbdev_enqueue_enc_ops;
> +	rte_bbdev_enqueue_fft_ops;
> +	rte_bbdev_enqueue_status_str;
> +	rte_bbdev_fft_op_alloc_bulk;
> +	rte_bbdev_fft_op_free_bulk;
>   	rte_bbdev_find_next;
>   	rte_bbdev_get_named_dev;
>   	rte_bbdev_info_get;
> @@ -43,14 +49,7 @@ DPDK_24 {
>   EXPERIMENTAL {
>   	global:
>   
> -	# added in 22.11
> -	rte_bbdev_dequeue_fft_ops;
> -	rte_bbdev_device_status_str;
> -	rte_bbdev_enqueue_fft_ops;
> -	rte_bbdev_enqueue_status_str;
> -	rte_bbdev_fft_op_alloc_bulk;
> -	rte_bbdev_fft_op_free_bulk;
> -	#added in 23.11
> +	# added in 23.11
>   	rte_bbdev_dequeue_mldts_ops;
>   	rte_bbdev_enqueue_mldts_ops;
>   	rte_bbdev_mldts_op_alloc_bulk;

Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Thanks,
Maxime
  

Patch

diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h
index d12e2e7fbcf3..b43e98ef9d1b 100644
--- a/lib/bbdev/rte_bbdev.h
+++ b/lib/bbdev/rte_bbdev.h
@@ -675,7 +675,6 @@  rte_bbdev_enqueue_ldpc_dec_ops(uint16_t dev_id, uint16_t queue_id,
  *   The number of operations actually enqueued.
  *   (This is the number of processed entries in the @p ops array.)
  */
-__rte_experimental
 static inline uint16_t
 rte_bbdev_enqueue_fft_ops(uint16_t dev_id, uint16_t queue_id,
 		struct rte_bbdev_fft_op **ops, uint16_t num_ops)
@@ -860,7 +859,6 @@  rte_bbdev_dequeue_ldpc_dec_ops(uint16_t dev_id, uint16_t queue_id,
  *   The number of operations actually dequeued (this is the number of entries
  *   copied into the @p ops array).
  */
-__rte_experimental
 static inline uint16_t
 rte_bbdev_dequeue_fft_ops(uint16_t dev_id, uint16_t queue_id,
 		struct rte_bbdev_fft_op **ops, uint16_t num_ops)
@@ -1042,7 +1040,6 @@  rte_bbdev_queue_intr_ctl(uint16_t dev_id, uint16_t queue_id, int epfd, int op,
  * @returns
  *   Device status as string or NULL if invalid.
  */
-__rte_experimental
 const char*
 rte_bbdev_device_status_str(enum rte_bbdev_device_status status);
 
@@ -1055,7 +1052,6 @@  rte_bbdev_device_status_str(enum rte_bbdev_device_status status);
  * @returns
  *   Queue status as string or NULL if op_type is invalid.
  */
-__rte_experimental
 const char*
 rte_bbdev_enqueue_status_str(enum rte_bbdev_enqueue_status status);
 
diff --git a/lib/bbdev/rte_bbdev_op.h b/lib/bbdev/rte_bbdev_op.h
index 369ac331bf9b..459631d0d0b7 100644
--- a/lib/bbdev/rte_bbdev_op.h
+++ b/lib/bbdev/rte_bbdev_op.h
@@ -1130,7 +1130,6 @@  rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool,
  *   - 0 on success.
  *   - EINVAL if invalid mempool is provided.
  */
-__rte_experimental
 static inline int
 rte_bbdev_fft_op_alloc_bulk(struct rte_mempool *mempool,
 		struct rte_bbdev_fft_op **ops, unsigned int num_ops)
@@ -1220,7 +1219,6 @@  rte_bbdev_enc_op_free_bulk(struct rte_bbdev_enc_op **ops, unsigned int num_ops)
  * @param num_ops
  *   Number of structures.
  */
-__rte_experimental
 static inline void
 rte_bbdev_fft_op_free_bulk(struct rte_bbdev_fft_op **ops, unsigned int num_ops)
 {
diff --git a/lib/bbdev/version.map b/lib/bbdev/version.map
index eeb7ed475a6c..1840d2b2a491 100644
--- a/lib/bbdev/version.map
+++ b/lib/bbdev/version.map
@@ -10,11 +10,17 @@  DPDK_24 {
 	rte_bbdev_dec_op_free_bulk;
 	rte_bbdev_dequeue_dec_ops;
 	rte_bbdev_dequeue_enc_ops;
+	rte_bbdev_dequeue_fft_ops;
+	rte_bbdev_device_status_str;
 	rte_bbdev_devices;
 	rte_bbdev_enc_op_alloc_bulk;
 	rte_bbdev_enc_op_free_bulk;
 	rte_bbdev_enqueue_dec_ops;
 	rte_bbdev_enqueue_enc_ops;
+	rte_bbdev_enqueue_fft_ops;
+	rte_bbdev_enqueue_status_str;
+	rte_bbdev_fft_op_alloc_bulk;
+	rte_bbdev_fft_op_free_bulk;
 	rte_bbdev_find_next;
 	rte_bbdev_get_named_dev;
 	rte_bbdev_info_get;
@@ -43,14 +49,7 @@  DPDK_24 {
 EXPERIMENTAL {
 	global:
 
-	# added in 22.11
-	rte_bbdev_dequeue_fft_ops;
-	rte_bbdev_device_status_str;
-	rte_bbdev_enqueue_fft_ops;
-	rte_bbdev_enqueue_status_str;
-	rte_bbdev_fft_op_alloc_bulk;
-	rte_bbdev_fft_op_free_bulk;
-	#added in 23.11
+	# added in 23.11
 	rte_bbdev_dequeue_mldts_ops;
 	rte_bbdev_enqueue_mldts_ops;
 	rte_bbdev_mldts_op_alloc_bulk;