test/security: add inline IPsec reassembly cases
[dpdk.git] / app / test / test_acl.c
index aea129e..4d51098 100644 (file)
 #include <rte_mbuf.h>
 #include <rte_byteorder.h>
 #include <rte_ip.h>
+
+#ifdef RTE_EXEC_ENV_WINDOWS
+static int
+test_acl(void)
+{
+       printf("ACL not supported on Windows, skipping test\n");
+       return TEST_SKIPPED;
+}
+
+#else
 #include <rte_acl.h>
 #include <rte_common.h>
 
@@ -341,6 +351,8 @@ test_classify_run(struct rte_acl_ctx *acx, struct ipv4_7tuple test_data[],
                RTE_ACL_CLASSIFY_AVX2,
                RTE_ACL_CLASSIFY_NEON,
                RTE_ACL_CLASSIFY_ALTIVEC,
+               RTE_ACL_CLASSIFY_AVX512X16,
+               RTE_ACL_CLASSIFY_AVX512X32,
        };
 
        /* swap all bytes in the data to network order */
@@ -1739,4 +1751,6 @@ test_acl(void)
        return 0;
 }
 
+#endif /* !RTE_EXEC_ENV_WINDOWS */
+
 REGISTER_TEST_COMMAND(acl_autotest, test_acl);