security: hide internal API
authorAkhil Goyal <gakhil@marvell.com>
Mon, 18 Oct 2021 05:22:46 +0000 (10:52 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Mon, 18 Oct 2021 18:12:19 +0000 (20:12 +0200)
rte_security_dynfield_register() is an internal
API to be used by the driver, hence moving it to internal.

Signed-off-by: Akhil Goyal <gakhil@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
lib/security/rte_security_driver.h
lib/security/version.map

index 9383732..b0253e9 100644 (file)
@@ -89,7 +89,7 @@ typedef int (*security_session_stats_get_t)(void *device,
                struct rte_security_session *sess,
                struct rte_security_stats *stats);
 
-__rte_experimental
+__rte_internal
 int rte_security_dynfield_register(void);
 
 /**
index a1f46bf..edf4887 100644 (file)
@@ -16,7 +16,12 @@ EXPERIMENTAL {
        __rte_security_get_userdata;
        __rte_security_set_pkt_metadata;
        rte_security_dynfield_offset;
-       rte_security_dynfield_register;
        rte_security_session_stats_get;
        rte_security_session_update;
 };
+
+INTERNAL {
+       global:
+
+       rte_security_dynfield_register;
+};