#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>
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 */
return 0;
}
+#endif /* !RTE_EXEC_ENV_WINDOWS */
+
REGISTER_TEST_COMMAND(acl_autotest, test_acl);