cryptodev: build on Windows
authorTal Shnaiderman <talshn@nvidia.com>
Wed, 6 Oct 2021 22:35:43 +0000 (22:35 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 7 Oct 2021 12:47:35 +0000 (14:47 +0200)
Build the cryptography device library on Windows OS
by removing unneeded include and exports of inline functions
blocking the compilation.

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

index 71e3414..44a70ec 100644 (file)
@@ -2,6 +2,8 @@
  * Copyright(c) 2017 Intel Corporation
  */
 
+#include <sys/queue.h>
+
 #include <rte_string_fns.h>
 #include <rte_malloc.h>
 
index 9fa3aff..b913c43 100644 (file)
@@ -12,7 +12,6 @@
 #include <errno.h>
 #include <stdint.h>
 #include <inttypes.h>
-#include <netinet/in.h>
 
 #include <rte_byteorder.h>
 #include <rte_log.h>
index 8294c9f..43cf937 100644 (file)
@@ -93,10 +93,8 @@ EXPERIMENTAL {
        # added in 20.11
        rte_cryptodev_configure_raw_dp_ctx;
        rte_cryptodev_get_raw_dp_ctx_size;
-       rte_cryptodev_raw_dequeue;
        rte_cryptodev_raw_dequeue_burst;
        rte_cryptodev_raw_dequeue_done;
-       rte_cryptodev_raw_enqueue;
        rte_cryptodev_raw_enqueue_burst;
        rte_cryptodev_raw_enqueue_done;
 
index 9c4841f..526c677 100644 (file)
@@ -80,6 +80,7 @@ if is_windows
             'hash',
             'timer',
             'bitratestats',
+            'cryptodev',
             'cfgfile',
             'gro',
             'gso',