security: restore experimental tag for unimplemented APIs
authorAkhil Goyal <akhil.goyal@nxp.com>
Thu, 22 Nov 2018 10:07:47 +0000 (10:07 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 23 Nov 2018 01:03:33 +0000 (02:03 +0100)
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 <akhil.goyal@nxp.com>
lib/librte_security/rte_security.c
lib/librte_security/rte_security.h
lib/librte_security/rte_security_version.map

index bc81ce1..a222b33 100644 (file)
@@ -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;
index e07b132..718147e 100644 (file)
@@ -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);
index a77ca4b..36e2ac4 100644 (file)
@@ -14,3 +14,11 @@ DPDK_18.11 {
 
        local: *;
 };
+
+EXPERIMENTAL {
+       global:
+
+       rte_security_get_userdata;
+       rte_security_session_stats_get;
+       rte_security_session_update;
+};