acl: use scalar method fastest for some cases
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Tue, 20 Jan 2015 18:41:02 +0000 (18:41 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 28 Jan 2015 16:11:25 +0000 (17:11 +0100)
commit4269eae463d156b76cfee0dac3fa17aabde86d3a
treef2ef47293cf7ac9a9cf5ee69cb6fdc4222c3f45f
parent0e58d84e1390df3617d95d7ec04cf22938095750
acl: use scalar method fastest for some cases

Previous improvements made scalar method the fastest one
for tiny bunch of packets (< 4).
That allows us to remove specific vector code-path for small number of packets
(search_sse_2) and always use scalar method for such cases.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_acl/acl_run.h
lib/librte_acl/acl_run_avx2.c
lib/librte_acl/acl_run_sse.c
lib/librte_acl/acl_run_sse.h