On supported platforms, set RTE_ACL_CLASSIFY_AVX512X16 as default ACL classify algorithm. Note that AVX512X16 implementation uses 256-bit registers/instincts only to avoid possibility of frequency drop.
Signed-off-by: Konstantin Ananyev <konstantin.anan...@intel.com> --- lib/librte_acl/rte_acl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_acl/rte_acl.c b/lib/librte_acl/rte_acl.c index 1154f35107..245af672ee 100644 --- a/lib/librte_acl/rte_acl.c +++ b/lib/librte_acl/rte_acl.c @@ -228,6 +228,7 @@ acl_get_best_alg(void) #elif defined(RTE_ARCH_PPC_64) RTE_ACL_CLASSIFY_ALTIVEC, #elif defined(RTE_ARCH_X86) + RTE_ACL_CLASSIFY_AVX512X16, RTE_ACL_CLASSIFY_AVX2, RTE_ACL_CLASSIFY_SSE, #endif -- 2.17.1