security: build on Windows
authorTal Shnaiderman <talshn@nvidia.com>
Wed, 6 Oct 2021 22:35:42 +0000 (22:35 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 7 Oct 2021 12:47:35 +0000 (14:47 +0200)
Build the security library on Windows.

Remove unneeded export of inline functions from version file.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
Acked-by: William Tu <u9012063@gmail.com>
lib/meson.build
lib/security/version.map

index 526c677..b2ba725 100644 (file)
@@ -87,6 +87,7 @@ if is_windows
             'latencystats',
             'pdump',
             'stack',
+            'security',
     ] # only supported libraries for windows
 endif
 
index b377be6..a1f46bf 100644 (file)
@@ -1,13 +1,11 @@
 DPDK_22 {
        global:
 
-       rte_security_attach_session;
        rte_security_capabilities_get;
        rte_security_capability_get;
        rte_security_session_create;
        rte_security_session_destroy;
        rte_security_session_get_size;
-       rte_security_set_pkt_metadata;
 
        local: *;
 };
@@ -19,7 +17,6 @@ EXPERIMENTAL {
        __rte_security_set_pkt_metadata;
        rte_security_dynfield_offset;
        rte_security_dynfield_register;
-       rte_security_get_userdata;
        rte_security_session_stats_get;
        rte_security_session_update;
 };