From: Akhil Goyal Date: Mon, 18 Oct 2021 05:22:46 +0000 (+0530) Subject: security: hide internal API X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3867ed02809cff69473acb640cf5373488fe6081;p=dpdk.git security: hide internal API rte_security_dynfield_register() is an internal API to be used by the driver, hence moving it to internal. Signed-off-by: Akhil Goyal Acked-by: Konstantin Ananyev Acked-by: Ray Kinsella --- diff --git a/lib/security/rte_security_driver.h b/lib/security/rte_security_driver.h index 938373205c..b0253e962e 100644 --- a/lib/security/rte_security_driver.h +++ b/lib/security/rte_security_driver.h @@ -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); /** diff --git a/lib/security/version.map b/lib/security/version.map index a1f46bfd27..edf4887e12 100644 --- a/lib/security/version.map +++ b/lib/security/version.map @@ -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; +};