From patchwork Mon Sep 6 16:01:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Medvedkin X-Patchwork-Id: 98091 X-Patchwork-Delegate: david.marchand@redhat.com 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 B8020A0C55; Mon, 6 Sep 2021 18:01:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99979410EF; Mon, 6 Sep 2021 18:01:25 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id DE87E410ED for ; Mon, 6 Sep 2021 18:01:23 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10099"; a="220055462" X-IronPort-AV: E=Sophos;i="5.85,272,1624345200"; d="scan'208";a="220055462" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2021 09:01:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,272,1624345200"; d="scan'208";a="546279457" Received: from silpixa00400072.ir.intel.com ([10.237.222.213]) by fmsmga002.fm.intel.com with ESMTP; 06 Sep 2021 09:01:17 -0700 From: Vladimir Medvedkin To: dev@dpdk.org Cc: konstantin.ananyev@intel.com Date: Mon, 6 Sep 2021 17:01:15 +0100 Message-Id: <1630944075-363524-1-git-send-email-vladimir.medvedkin@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] fib: promote experimental API's to stable 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" The fib and fib6 API's have been in since 19.11 and should be marked as stable. Signed-off-by: Vladimir Medvedkin Acked-by: Conor Walsh --- Notes: This patch should be applied after https://patches.dpdk.org/project/dpdk/patch/1630943759-362969-1-git-send-email-vladimir.medvedkin@intel.com/ lib/fib/rte_fib.h | 13 ------------- lib/fib/rte_fib6.h | 13 ------------- lib/fib/version.map | 2 +- 3 files changed, 1 insertion(+), 27 deletions(-) diff --git a/lib/fib/rte_fib.h b/lib/fib/rte_fib.h index 570b4b6..b3c59df 100644 --- a/lib/fib/rte_fib.h +++ b/lib/fib/rte_fib.h @@ -11,10 +11,6 @@ * * RTE FIB library. * - * @warning - * @b EXPERIMENTAL: - * All functions in this file may be changed or removed without prior notice. - * * FIB (Forwarding information base) implementation * for IPv4 Longest Prefix Match */ @@ -107,7 +103,6 @@ struct rte_fib_conf { * Handle to the FIB object on success * NULL otherwise with rte_errno set to an appropriate values. */ -__rte_experimental struct rte_fib * rte_fib_create(const char *name, int socket_id, struct rte_fib_conf *conf); @@ -121,7 +116,6 @@ rte_fib_create(const char *name, int socket_id, struct rte_fib_conf *conf); * set appropriately. Possible rte_errno values include: * - ENOENT - required entry not available to return. */ -__rte_experimental struct rte_fib * rte_fib_find_existing(const char *name); @@ -133,7 +127,6 @@ rte_fib_find_existing(const char *name); * @return * None */ -__rte_experimental void rte_fib_free(struct rte_fib *fib); @@ -151,7 +144,6 @@ rte_fib_free(struct rte_fib *fib); * @return * 0 on success, negative value otherwise */ -__rte_experimental int rte_fib_add(struct rte_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop); @@ -167,7 +159,6 @@ rte_fib_add(struct rte_fib *fib, uint32_t ip, uint8_t depth, uint64_t next_hop); * @return * 0 on success, negative value otherwise */ -__rte_experimental int rte_fib_delete(struct rte_fib *fib, uint32_t ip, uint8_t depth); @@ -188,7 +179,6 @@ rte_fib_delete(struct rte_fib *fib, uint32_t ip, uint8_t depth); * @return * -EINVAL for incorrect arguments, otherwise 0 */ -__rte_experimental int rte_fib_lookup_bulk(struct rte_fib *fib, uint32_t *ips, uint64_t *next_hops, int n); @@ -201,7 +191,6 @@ rte_fib_lookup_bulk(struct rte_fib *fib, uint32_t *ips, * Pointer on the dataplane struct on success * NULL othervise */ -__rte_experimental void * rte_fib_get_dp(struct rte_fib *fib); @@ -214,7 +203,6 @@ rte_fib_get_dp(struct rte_fib *fib); * Pointer on the RIB on success * NULL othervise */ -__rte_experimental struct rte_rib * rte_fib_get_rib(struct rte_fib *fib); @@ -230,7 +218,6 @@ rte_fib_get_rib(struct rte_fib *fib); * 0 on success * -EINVAL on failure */ -__rte_experimental int rte_fib_select_lookup(struct rte_fib *fib, enum rte_fib_lookup_type type); diff --git a/lib/fib/rte_fib6.h b/lib/fib/rte_fib6.h index a9d6d04..95879af 100644 --- a/lib/fib/rte_fib6.h +++ b/lib/fib/rte_fib6.h @@ -11,10 +11,6 @@ * * RTE FIB6 library. * - * @warning - * @b EXPERIMENTAL: - * All functions in this file may be changed or removed without prior notice. - * * FIB (Forwarding information base) implementation * for IPv6 Longest Prefix Match */ @@ -98,7 +94,6 @@ struct rte_fib6_conf { * Handle to FIB object on success * NULL otherwise with rte_errno set to an appropriate values. */ -__rte_experimental struct rte_fib6 * rte_fib6_create(const char *name, int socket_id, struct rte_fib6_conf *conf); @@ -112,7 +107,6 @@ rte_fib6_create(const char *name, int socket_id, struct rte_fib6_conf *conf); * set appropriately. Possible rte_errno values include: * - ENOENT - required entry not available to return. */ -__rte_experimental struct rte_fib6 * rte_fib6_find_existing(const char *name); @@ -124,7 +118,6 @@ rte_fib6_find_existing(const char *name); * @return * None */ -__rte_experimental void rte_fib6_free(struct rte_fib6 *fib); @@ -142,7 +135,6 @@ rte_fib6_free(struct rte_fib6 *fib); * @return * 0 on success, negative value otherwise */ -__rte_experimental int rte_fib6_add(struct rte_fib6 *fib, const uint8_t ip[RTE_FIB6_IPV6_ADDR_SIZE], uint8_t depth, uint64_t next_hop); @@ -159,7 +151,6 @@ rte_fib6_add(struct rte_fib6 *fib, const uint8_t ip[RTE_FIB6_IPV6_ADDR_SIZE], * @return * 0 on success, negative value otherwise */ -__rte_experimental int rte_fib6_delete(struct rte_fib6 *fib, const uint8_t ip[RTE_FIB6_IPV6_ADDR_SIZE], uint8_t depth); @@ -181,7 +172,6 @@ rte_fib6_delete(struct rte_fib6 *fib, * @return * -EINVAL for incorrect arguments, otherwise 0 */ -__rte_experimental int rte_fib6_lookup_bulk(struct rte_fib6 *fib, uint8_t ips[][RTE_FIB6_IPV6_ADDR_SIZE], @@ -196,7 +186,6 @@ rte_fib6_lookup_bulk(struct rte_fib6 *fib, * Pointer on the dataplane struct on success * NULL othervise */ -__rte_experimental void * rte_fib6_get_dp(struct rte_fib6 *fib); @@ -209,7 +198,6 @@ rte_fib6_get_dp(struct rte_fib6 *fib); * Pointer on the RIB6 on success * NULL othervise */ -__rte_experimental struct rte_rib6 * rte_fib6_get_rib(struct rte_fib6 *fib); @@ -225,7 +213,6 @@ rte_fib6_get_rib(struct rte_fib6 *fib); * 0 on success * -EINVAL on failure */ -__rte_experimental int rte_fib6_select_lookup(struct rte_fib6 *fib, enum rte_fib6_lookup_type type); diff --git a/lib/fib/version.map b/lib/fib/version.map index be975ea..af76add 100644 --- a/lib/fib/version.map +++ b/lib/fib/version.map @@ -1,4 +1,4 @@ -EXPERIMENTAL { +DPDK_22 { global: rte_fib_add;