From patchwork Wed Sep 1 12:20:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jasvinder Singh X-Patchwork-Id: 97685 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2B158A0C43; Wed, 1 Sep 2021 14:20:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1798240140; Wed, 1 Sep 2021 14:20:13 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 565774013F for ; Wed, 1 Sep 2021 14:20:10 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10093"; a="205857419" X-IronPort-AV: E=Sophos;i="5.84,369,1620716400"; d="scan'208";a="205857419" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2021 05:20:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,369,1620716400"; d="scan'208";a="476153845" Received: from silpixa00400517.ir.intel.com ([10.237.214.118]) by orsmga008.jf.intel.com with ESMTP; 01 Sep 2021 05:20:08 -0700 From: Jasvinder Singh To: dev@dpdk.org Cc: cristian.dumitrescu@intel.com, mdr@ashroe.eu, roy.fan.zhang@intel.com Date: Wed, 1 Sep 2021 13:20:07 +0100 Message-Id: <20210901122007.3885050-1-jasvinder.singh@intel.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] pipeline: remove experimental tag from API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" These APIs were introduced in 18.05, therefore removing experimental tag to promote them to stable state. Signed-off-by: Jasvinder Singh Acked-by: Ray Kinsella Acked-by: Fan Zhang Acked-by: Ray Kinsella Acked-by: Cristian Dumitrescu Acked-by: Ray Kinsella --- lib/pipeline/rte_port_in_action.h | 10 ---------- lib/pipeline/rte_table_action.h | 18 ------------------ lib/pipeline/version.map | 16 ++++++---------- 3 files changed, 6 insertions(+), 38 deletions(-) diff --git a/lib/pipeline/rte_port_in_action.h b/lib/pipeline/rte_port_in_action.h index d6b063cf58..de611cbfab 100644 --- a/lib/pipeline/rte_port_in_action.h +++ b/lib/pipeline/rte_port_in_action.h @@ -42,8 +42,6 @@ * used by the input port action handler based on given action parameters. * API functions: rte_port_in_action_apply(). * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice */ #ifdef __cplusplus @@ -172,7 +170,6 @@ struct rte_port_in_action_profile; * @return * Input port action profile handle on success, NULL otherwise. */ -__rte_experimental struct rte_port_in_action_profile * rte_port_in_action_profile_create(uint32_t socket_id); @@ -184,7 +181,6 @@ rte_port_in_action_profile_create(uint32_t socket_id); * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_port_in_action_profile_free(struct rte_port_in_action_profile *profile); @@ -203,7 +199,6 @@ rte_port_in_action_profile_free(struct rte_port_in_action_profile *profile); * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_port_in_action_profile_action_register( struct rte_port_in_action_profile *profile, @@ -226,7 +221,6 @@ rte_port_in_action_profile_action_register( * * @see rte_port_in_action_create() */ -__rte_experimental int rte_port_in_action_profile_freeze(struct rte_port_in_action_profile *profile); @@ -249,7 +243,6 @@ struct rte_port_in_action; * @return * Handle to input port action object on success, NULL on error. */ -__rte_experimental struct rte_port_in_action * rte_port_in_action_create(struct rte_port_in_action_profile *profile, uint32_t socket_id); @@ -262,7 +255,6 @@ rte_port_in_action_create(struct rte_port_in_action_profile *profile, * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_port_in_action_free(struct rte_port_in_action *action); @@ -276,7 +268,6 @@ rte_port_in_action_free(struct rte_port_in_action *action); * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_port_in_action_params_get(struct rte_port_in_action *action, struct rte_pipeline_port_in_params *params); @@ -296,7 +287,6 @@ rte_port_in_action_params_get(struct rte_port_in_action *action, * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_port_in_action_apply(struct rte_port_in_action *action, enum rte_port_in_action_type type, diff --git a/lib/pipeline/rte_table_action.h b/lib/pipeline/rte_table_action.h index 82bc9d9ac9..aac6b8ce8d 100644 --- a/lib/pipeline/rte_table_action.h +++ b/lib/pipeline/rte_table_action.h @@ -48,8 +48,6 @@ * - Use the table action object to read action data (e.g. stats counters) for * any given rule. API functions: rte_table_action_XYZ_read(). * - * @warning - * @b EXPERIMENTAL: this API may change without prior notice */ #ifdef __cplusplus @@ -823,7 +821,6 @@ struct rte_table_action_profile; * @return * Table action profile handle on success, NULL otherwise. */ -__rte_experimental struct rte_table_action_profile * rte_table_action_profile_create(struct rte_table_action_common_config *common); @@ -835,7 +832,6 @@ rte_table_action_profile_create(struct rte_table_action_common_config *common); * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_profile_free(struct rte_table_action_profile *profile); @@ -854,7 +850,6 @@ rte_table_action_profile_free(struct rte_table_action_profile *profile); * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_profile_action_register(struct rte_table_action_profile *profile, enum rte_table_action_type type, @@ -875,7 +870,6 @@ rte_table_action_profile_action_register(struct rte_table_action_profile *profil * * @see rte_table_action_create() */ -__rte_experimental int rte_table_action_profile_freeze(struct rte_table_action_profile *profile); @@ -899,7 +893,6 @@ struct rte_table_action; * * @see rte_table_action_create() */ -__rte_experimental struct rte_table_action * rte_table_action_create(struct rte_table_action_profile *profile, uint32_t socket_id); @@ -912,7 +905,6 @@ rte_table_action_create(struct rte_table_action_profile *profile, * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_free(struct rte_table_action *action); @@ -926,7 +918,6 @@ rte_table_action_free(struct rte_table_action *action); * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_table_params_get(struct rte_table_action *action, struct rte_pipeline_table_params *params); @@ -949,7 +940,6 @@ rte_table_action_table_params_get(struct rte_table_action *action, * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_apply(struct rte_table_action *action, void *data, @@ -969,7 +959,6 @@ rte_table_action_apply(struct rte_table_action *action, * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_dscp_table_update(struct rte_table_action *action, uint64_t dscp_mask, @@ -989,7 +978,6 @@ rte_table_action_dscp_table_update(struct rte_table_action *action, * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_meter_profile_add(struct rte_table_action *action, uint32_t meter_profile_id, @@ -1006,7 +994,6 @@ rte_table_action_meter_profile_add(struct rte_table_action *action, * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_meter_profile_delete(struct rte_table_action *action, uint32_t meter_profile_id); @@ -1038,7 +1025,6 @@ rte_table_action_meter_profile_delete(struct rte_table_action *action, * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_meter_read(struct rte_table_action *action, void *data, @@ -1065,7 +1051,6 @@ rte_table_action_meter_read(struct rte_table_action *action, * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_ttl_read(struct rte_table_action *action, void *data, @@ -1091,7 +1076,6 @@ rte_table_action_ttl_read(struct rte_table_action *action, * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_stats_read(struct rte_table_action *action, void *data, @@ -1112,7 +1096,6 @@ rte_table_action_stats_read(struct rte_table_action *action, * @return * Zero on success, non-zero error code otherwise. */ -__rte_experimental int rte_table_action_time_read(struct rte_table_action *action, void *data, @@ -1128,7 +1111,6 @@ rte_table_action_time_read(struct rte_table_action *action, * @return * The pointer to the session on success, NULL otherwise. */ -__rte_experimental struct rte_cryptodev_sym_session * rte_table_action_crypto_sym_session_get(struct rte_table_action *action, void *data); diff --git a/lib/pipeline/version.map b/lib/pipeline/version.map index 2b68f584a4..5732fac16b 100644 --- a/lib/pipeline/version.map +++ b/lib/pipeline/version.map @@ -24,14 +24,6 @@ DPDK_22 { rte_pipeline_table_entry_delete; rte_pipeline_table_entry_delete_bulk; rte_pipeline_table_stats_read; - - local: *; -}; - -EXPERIMENTAL { - global: - - # added in 18.05 rte_port_in_action_apply; rte_port_in_action_create; rte_port_in_action_free; @@ -55,10 +47,14 @@ EXPERIMENTAL { rte_table_action_table_params_get; rte_table_action_time_read; rte_table_action_ttl_read; - - # added in 18.11 rte_table_action_crypto_sym_session_get; + local: *; +}; + +EXPERIMENTAL { + global: + # added in 20.11 rte_swx_ctl_action_arg_info_get; rte_swx_ctl_action_info_get;