5dd71363bf
Introduce new classify() method that uses AVX2 instructions. >From my measurements: On HSW boards when processing >= 16 packets per call, AVX2 method outperforms it's SSE counterpart by 10-25%, (depending on the ruleset). When build with the compilers that don't support AVX2 instructions, make rte_acl_classify_avx2() do nothing and return an error. At runtime, if librte_acl was build with the compiler that supports AVX2, this method is selected as default one on HW that supports AVX2. Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> |
||
---|---|---|
.. | ||
acl_bld.c | ||
acl_gen.c | ||
acl_run_avx2.c | ||
acl_run_avx2.h | ||
acl_run_scalar.c | ||
acl_run_sse.c | ||
acl_run_sse.h | ||
acl_run.h | ||
acl_vect.h | ||
acl.h | ||
Makefile | ||
rte_acl_osdep_alone.h | ||
rte_acl_osdep.h | ||
rte_acl.c | ||
rte_acl.h | ||
tb_mem.c | ||
tb_mem.h |