numam-dpdk/lib/librte_acl
Konstantin Ananyev 5dd71363bf acl: add AVX2 classify method
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>
2015-01-28 17:11:25 +01:00
..
acl_bld.c acl: simplify match nodes allocation 2015-01-28 17:11:25 +01:00
acl_gen.c acl: simplify match nodes allocation 2015-01-28 17:11:25 +01:00
acl_run_avx2.c acl: add AVX2 classify method 2015-01-28 17:11:25 +01:00
acl_run_avx2.h acl: add AVX2 classify method 2015-01-28 17:11:25 +01:00
acl_run_scalar.c acl: deduplicate a bit of RT code 2015-01-28 17:11:25 +01:00
acl_run_sse.c acl: add AVX2 classify method 2015-01-28 17:11:25 +01:00
acl_run_sse.h acl: add AVX2 classify method 2015-01-28 17:11:25 +01:00
acl_run.h acl: add AVX2 classify method 2015-01-28 17:11:25 +01:00
acl_vect.h acl: new library 2014-06-14 01:29:45 +02:00
acl.h acl: add AVX2 classify method 2015-01-28 17:11:25 +01:00
Makefile acl: add AVX2 classify method 2015-01-28 17:11:25 +01:00
rte_acl_osdep_alone.h eal: introduce ymm type for AVX 256-bit 2015-01-28 17:11:25 +01:00
rte_acl_osdep.h acl: new library 2014-06-14 01:29:45 +02:00
rte_acl.c acl: add AVX2 classify method 2015-01-28 17:11:25 +01:00
rte_acl.h acl: add AVX2 classify method 2015-01-28 17:11:25 +01:00
tb_mem.c acl: fix comments typos 2014-11-14 17:23:50 +01:00
tb_mem.h acl: fix comments typos 2014-11-14 17:23:50 +01:00