From: Vladimir Medvedkin Date: Mon, 6 Sep 2021 16:01:15 +0000 (+0100) Subject: fib: promote API to stable X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8f532a34c4f2a0636913569596f97d68c0d0df7b;p=dpdk.git fib: promote API to stable 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 --- diff --git a/MAINTAINERS b/MAINTAINERS index 1d437ca29d..278e5b3226 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1495,7 +1495,7 @@ F: lib/member/ F: doc/guides/prog_guide/member_lib.rst F: app/test/test_member* -RIB/FIB - EXPERIMENTAL +RIB/FIB M: Vladimir Medvedkin F: lib/rib/ F: app/test/test_rib* diff --git a/lib/fib/rte_fib.h b/lib/fib/rte_fib.h index acad20963c..ac54f83cab 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 */ @@ -105,7 +101,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); @@ -119,7 +114,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); @@ -131,7 +125,6 @@ rte_fib_find_existing(const char *name); * @return * None */ -__rte_experimental void rte_fib_free(struct rte_fib *fib); @@ -149,7 +142,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); @@ -165,7 +157,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); @@ -186,7 +177,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); @@ -199,7 +189,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); @@ -212,7 +201,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); @@ -228,7 +216,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 0e193b8e7b..f9d7812d6b 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 */ @@ -96,7 +92,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); @@ -110,7 +105,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); @@ -122,7 +116,6 @@ rte_fib6_find_existing(const char *name); * @return * None */ -__rte_experimental void rte_fib6_free(struct rte_fib6 *fib); @@ -140,7 +133,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); @@ -157,7 +149,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); @@ -179,7 +170,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], @@ -194,7 +184,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); @@ -207,7 +196,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); @@ -223,7 +211,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 be975eab8e..af76add2b9 100644 --- a/lib/fib/version.map +++ b/lib/fib/version.map @@ -1,4 +1,4 @@ -EXPERIMENTAL { +DPDK_22 { global: rte_fib_add;