numam-dpdk/lib/librte_acl
Konstantin Ananyev 074f54ad03 acl: fix build and runtime for default target
Make ACL library to build/work on 'default' architecture:
- make rte_acl_classify_scalar really scalar
 (make sure it wouldn't use sse4 instrincts through resolve_priority()).
- Provide two versions of rte_acl_classify code path:
  rte_acl_classify_sse() - could be build and used only on systems with sse4.2
  and upper, return -ENOTSUP on lower arch.
  rte_acl_classify_scalar() - a slower version, but could be build and used
  on all systems.
- Addition of a new function rte_acl_classify_alg.  This function lets you
  specify an enum value to override the acl contexts default algorithm when doing
  a classification.  This allows an application to specify a classification
  algorithm without needing to publicize each method. I know there was concern
  over keeping those methods public, but we don't have a static ABI at the moment,
  so this seems to me a reasonable thing to do, as it gives us less of an ABI
  surface to worry about.
- keep common code shared between these two codepaths.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
2014-09-03 03:26:50 +02:00
..
acl_bld.c acl: fix build and runtime for default target 2014-09-03 03:26:50 +02:00
acl_gen.c acl: new library 2014-06-14 01:29:45 +02:00
acl_run_scalar.c acl: fix build and runtime for default target 2014-09-03 03:26:50 +02:00
acl_run_sse.c acl: fix build and runtime for default target 2014-09-03 03:26:50 +02:00
acl_run.h acl: fix build and runtime for default target 2014-09-03 03:26:50 +02:00
acl_vect.h acl: new library 2014-06-14 01:29:45 +02:00
acl.h acl: fix build and runtime for default target 2014-09-03 03:26:50 +02:00
Makefile acl: fix build and runtime for default target 2014-09-03 03:26:50 +02:00
rte_acl_osdep_alone.h eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
rte_acl_osdep.h acl: new library 2014-06-14 01:29:45 +02:00
rte_acl.c acl: fix build and runtime for default target 2014-09-03 03:26:50 +02:00
rte_acl.h acl: fix build and runtime for default target 2014-09-03 03:26:50 +02:00
tb_mem.c acl: new library 2014-06-14 01:29:45 +02:00
tb_mem.h acl: new library 2014-06-14 01:29:45 +02:00