distributor: add SIMD flow matching
authorDavid Hunt <david.hunt@intel.com>
Mon, 20 Mar 2017 10:08:28 +0000 (10:08 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 29 Mar 2017 14:46:57 +0000 (16:46 +0200)
commit6690f105dc2ecc0b97d42721408a8850e51c0393
tree9fdfed797d4ec632f839495ee00970bfe044d17b
parent775003ad2f96c9881a00a6534518a875723978c8
distributor: add SIMD flow matching

Add an optimised version of the in-flight flow matching algorithm
using SIMD instructions. This should give up to 1.5x over the scalar
versions performance.

Falls back to scalar version if SSE4.2 not available

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_distributor/Makefile
lib/librte_distributor/rte_distributor.c
lib/librte_distributor/rte_distributor_match_generic.c [new file with mode: 0644]
lib/librte_distributor/rte_distributor_match_sse.c [new file with mode: 0644]
lib/librte_distributor/rte_distributor_private.h