[1/2] test/crypto: remove Windows conditional compilation
Checks
Commit Message
build the test/crypto harnesses on windows to allow them to be listed
as tests to run.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
---
app/test/test_cryptodev.c | 3 ---
app/test/test_cryptodev_asym.c | 3 ---
app/test/test_cryptodev_blockcipher.c | 3 ---
app/test/test_cryptodev_security_ipsec.c | 7 ++++---
app/test/test_cryptodev_security_pdcp.c | 3 ---
5 files changed, 4 insertions(+), 15 deletions(-)
@@ -3,8 +3,6 @@
* Copyright 2020 NXP
*/
-#ifndef RTE_EXEC_ENV_WINDOWS
-
#include <time.h>
#include <rte_common.h>
@@ -16497,4 +16495,3 @@ struct test_crypto_vector {
REGISTER_TEST_COMMAND(cryptodev_cn9k_autotest, test_cryptodev_cn9k);
REGISTER_TEST_COMMAND(cryptodev_cn10k_autotest, test_cryptodev_cn10k);
-#endif /* !RTE_EXEC_ENV_WINDOWS */
@@ -3,8 +3,6 @@
* Copyright (c) 2019 Intel Corporation
*/
-#ifndef RTE_EXEC_ENV_WINDOWS
-
#include <rte_bus_vdev.h>
#include <rte_common.h>
#include <rte_hexdump.h>
@@ -2266,4 +2264,3 @@ static inline void print_asym_capa(
REGISTER_TEST_COMMAND(cryptodev_cn9k_asym_autotest, test_cryptodev_cn9k_asym);
REGISTER_TEST_COMMAND(cryptodev_cn10k_asym_autotest, test_cryptodev_cn10k_asym);
-#endif /* !RTE_EXEC_ENV_WINDOWS */
@@ -2,8 +2,6 @@
* Copyright(c) 2015-2017 Intel Corporation
*/
-#ifndef RTE_EXEC_ENV_WINDOWS
-
#include <rte_common.h>
#include <rte_hexdump.h>
#include <rte_mbuf.h>
@@ -1220,4 +1218,3 @@ struct unit_test_suite *
free(ts);
}
-#endif /* !RTE_EXEC_ENV_WINDOWS */
@@ -2,8 +2,6 @@
* Copyright(C) 2021 Marvell.
*/
-#ifndef RTE_EXEC_ENV_WINDOWS
-
#include <rte_common.h>
#include <rte_cryptodev.h>
#include <rte_esp.h>
@@ -17,6 +15,10 @@
#define IV_LEN_MAX 16
+#ifndef IPVERSION
+#define IPVERSION 4
+#endif
+
struct crypto_param_comb alg_list[RTE_DIM(aead_list) +
(RTE_DIM(cipher_list) *
RTE_DIM(auth_list))];
@@ -1133,4 +1135,3 @@ struct crypto_param_comb alg_list[RTE_DIM(aead_list) +
return 0;
}
-#endif /* !RTE_EXEC_ENV_WINDOWS */
@@ -4,8 +4,6 @@
* Copyright 2018-2019 NXP
*/
-#ifndef RTE_EXEC_ENV_WINDOWS
-
#include <time.h>
#include <rte_common.h>
@@ -590,4 +588,3 @@ static int uplane_encap_no_integrity(uint32_t sn_size, uint8_t dir,
return n - i;
};
-#endif /* !RTE_EXEC_ENV_WINDOWS */