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
..
2014-07-22 19:42:23 +02:00
2014-06-26 22:51:30 +02:00
2014-06-27 02:31:24 +02:00
2014-07-22 19:42:23 +02:00
2014-06-27 02:31:24 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-08-01 17:14:06 +02:00
2014-08-13 01:27:53 +02:00
2014-07-03 16:12:39 +02:00
2014-07-16 09:45:47 +02:00
2014-06-27 02:31:24 +02:00
2014-07-22 19:42:18 +02:00
2014-06-11 00:29:34 +02:00
2014-06-27 02:31:24 +02:00
2014-07-01 16:25:12 +02:00