From: Akhil Goyal Date: Thu, 22 Nov 2018 10:07:47 +0000 (+0000) Subject: security: restore experimental tag for unimplemented APIs X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f63ffee26f9ca9c22704a8f001e55fb78e27bc19;p=dpdk.git security: restore experimental tag for unimplemented APIs Following APIs are not currently implemented by any of the drivers, so marking them as rte_experimental again. Fixes: 1a81dce780a0 ("security: remove experimental tag") rte_security_get_userdata; rte_security_session_stats_get; rte_security_session_update; Signed-off-by: Akhil Goyal --- diff --git a/lib/librte_security/rte_security.c b/lib/librte_security/rte_security.c index bc81ce15d1..a222b33cec 100644 --- a/lib/librte_security/rte_security.c +++ b/lib/librte_security/rte_security.c @@ -33,7 +33,7 @@ rte_security_session_create(struct rte_security_ctx *instance, return sess; } -int +int __rte_experimental rte_security_session_update(struct rte_security_ctx *instance, struct rte_security_session *sess, struct rte_security_session_conf *conf) @@ -49,7 +49,7 @@ rte_security_session_get_size(struct rte_security_ctx *instance) return instance->ops->session_get_size(instance->device); } -int +int __rte_experimental rte_security_session_stats_get(struct rte_security_ctx *instance, struct rte_security_session *sess, struct rte_security_stats *stats) @@ -86,7 +86,7 @@ rte_security_set_pkt_metadata(struct rte_security_ctx *instance, sess, m, params); } -void * +void * __rte_experimental rte_security_get_userdata(struct rte_security_ctx *instance, uint64_t md) { void *userdata = NULL; diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h index e07b132892..718147e008 100644 --- a/lib/librte_security/rte_security.h +++ b/lib/librte_security/rte_security.h @@ -344,7 +344,7 @@ rte_security_session_create(struct rte_security_ctx *instance, * - On success returns 0 * - On failure return errno */ -int +int __rte_experimental rte_security_session_update(struct rte_security_ctx *instance, struct rte_security_session *sess, struct rte_security_session_conf *conf); @@ -412,7 +412,7 @@ rte_security_set_pkt_metadata(struct rte_security_ctx *instance, * - On success, userdata * - On failure, NULL */ -void * +void * __rte_experimental rte_security_get_userdata(struct rte_security_ctx *instance, uint64_t md); /** @@ -499,7 +499,7 @@ struct rte_security_stats { * - On success return 0 * - On failure errno */ -int +int __rte_experimental rte_security_session_stats_get(struct rte_security_ctx *instance, struct rte_security_session *sess, struct rte_security_stats *stats); diff --git a/lib/librte_security/rte_security_version.map b/lib/librte_security/rte_security_version.map index a77ca4bc21..36e2ac488f 100644 --- a/lib/librte_security/rte_security_version.map +++ b/lib/librte_security/rte_security_version.map @@ -14,3 +14,11 @@ DPDK_18.11 { local: *; }; + +EXPERIMENTAL { + global: + + rte_security_get_userdata; + rte_security_session_stats_get; + rte_security_session_update; +};