The rte_swx_ipsec_* symbols have been experimental since 23.03 and have had no functional change since. Promote them to stable along with the rest of the SWX pipeline API.
Signed-off-by: Stephen Hemminger <[email protected]> --- lib/pipeline/rte_swx_ipsec.c | 14 +++++++------- lib/pipeline/rte_swx_ipsec.h | 8 -------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/lib/pipeline/rte_swx_ipsec.c b/lib/pipeline/rte_swx_ipsec.c index 553056fad2..2b2b5e5e5f 100644 --- a/lib/pipeline/rte_swx_ipsec.c +++ b/lib/pipeline/rte_swx_ipsec.c @@ -178,7 +178,7 @@ static struct rte_tailq_elem rte_swx_ipsec_tailq = { EAL_REGISTER_TAILQ(rte_swx_ipsec_tailq) -RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_swx_ipsec_find, 23.03) +RTE_EXPORT_SYMBOL(rte_swx_ipsec_find) struct rte_swx_ipsec * rte_swx_ipsec_find(const char *name) { @@ -263,7 +263,7 @@ ipsec_unregister(struct rte_swx_ipsec *ipsec) static void ipsec_session_free(struct rte_swx_ipsec *ipsec, struct rte_ipsec_session *s); -RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_swx_ipsec_free, 23.03) +RTE_EXPORT_SYMBOL(rte_swx_ipsec_free) void rte_swx_ipsec_free(struct rte_swx_ipsec *ipsec) { @@ -294,7 +294,7 @@ rte_swx_ipsec_free(struct rte_swx_ipsec *ipsec) env_free(ipsec, ipsec->total_size); } -RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_swx_ipsec_create, 23.03) +RTE_EXPORT_SYMBOL(rte_swx_ipsec_create) int rte_swx_ipsec_create(struct rte_swx_ipsec **ipsec_out, const char *name, @@ -722,7 +722,7 @@ rte_swx_ipsec_post_crypto(struct rte_swx_ipsec *ipsec) } } -RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_swx_ipsec_run, 23.03) +RTE_EXPORT_SYMBOL(rte_swx_ipsec_run) void rte_swx_ipsec_run(struct rte_swx_ipsec *ipsec) { @@ -1134,7 +1134,7 @@ do { \ } \ } while (0) -RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_swx_ipsec_sa_read, 23.03) +RTE_EXPORT_SYMBOL(rte_swx_ipsec_sa_read) struct rte_swx_ipsec_sa_params * rte_swx_ipsec_sa_read(struct rte_swx_ipsec *ipsec __rte_unused, const char *string, @@ -1768,7 +1768,7 @@ ipsec_session_free(struct rte_swx_ipsec *ipsec, memset(s, 0, sizeof(*s)); } -RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_swx_ipsec_sa_add, 23.03) +RTE_EXPORT_SYMBOL(rte_swx_ipsec_sa_add) int rte_swx_ipsec_sa_add(struct rte_swx_ipsec *ipsec, struct rte_swx_ipsec_sa_params *sa_params, @@ -1808,7 +1808,7 @@ rte_swx_ipsec_sa_add(struct rte_swx_ipsec *ipsec, return 0; } -RTE_EXPORT_EXPERIMENTAL_SYMBOL(rte_swx_ipsec_sa_delete, 23.03) +RTE_EXPORT_SYMBOL(rte_swx_ipsec_sa_delete) void rte_swx_ipsec_sa_delete(struct rte_swx_ipsec *ipsec, uint32_t sa_id) diff --git a/lib/pipeline/rte_swx_ipsec.h b/lib/pipeline/rte_swx_ipsec.h index 6cff18084f..cfd6140d02 100644 --- a/lib/pipeline/rte_swx_ipsec.h +++ b/lib/pipeline/rte_swx_ipsec.h @@ -46,7 +46,6 @@ #include <stdio.h> #include <netinet/in.h> -#include <rte_compat.h> #include <rte_crypto_sym.h> #include <rte_ip6.h> @@ -125,7 +124,6 @@ struct rte_swx_ipsec_input_packet_metadata { * @return * Valid IPsec instance handle if found or NULL otherwise. */ -__rte_experimental struct rte_swx_ipsec * rte_swx_ipsec_find(const char *name); @@ -147,7 +145,6 @@ rte_swx_ipsec_find(const char *name); * -ENOMEM: Not enough space/cannot allocate memory; * -EEXIST: Pipeline with this name already exists. */ -__rte_experimental int rte_swx_ipsec_create(struct rte_swx_ipsec **ipsec, const char *name, @@ -160,7 +157,6 @@ rte_swx_ipsec_create(struct rte_swx_ipsec **ipsec, * @param[in] ipsec * IPsec instance handle. */ -__rte_experimental void rte_swx_ipsec_free(struct rte_swx_ipsec *ipsec); @@ -174,7 +170,6 @@ rte_swx_ipsec_free(struct rte_swx_ipsec *ipsec); * @param[in] ipsec * IPsec instance handle. */ -__rte_experimental void rte_swx_ipsec_run(struct rte_swx_ipsec *ipsec); @@ -297,7 +292,6 @@ struct rte_swx_ipsec_sa_params { * @return * 0 on success or error code otherwise. */ -__rte_experimental int rte_swx_ipsec_sa_add(struct rte_swx_ipsec *ipsec, struct rte_swx_ipsec_sa_params *sa_params, @@ -314,7 +308,6 @@ rte_swx_ipsec_sa_add(struct rte_swx_ipsec *ipsec, * @param[in] sa_id * The SA ID. */ -__rte_experimental void rte_swx_ipsec_sa_delete(struct rte_swx_ipsec *ipsec, uint32_t sa_id); @@ -367,7 +360,6 @@ rte_swx_ipsec_sa_delete(struct rte_swx_ipsec *ipsec, * @return * Pointer to valid IPsec SA parameters data structure on success or NULL on error. */ -__rte_experimental struct rte_swx_ipsec_sa_params * rte_swx_ipsec_sa_read(struct rte_swx_ipsec *ipsec, const char *string, -- 2.53.0

