numam-dpdk/examples/l3fwd
Tomasz Kulasek 94c54b4158 examples/l3fwd: rework exact-match
Current implementation of Exact-Match uses different execution path than
for LPM. Unifying them allows to reuse big part of LPM code and sightly
increase performance of Exact-Match.

Main changes:
-------------
* Packet classification stage is separated from the rest of path for both
  LPM and EM.
* Packet processing, modifying and transmit part is the same for LPM and EM
  and mostly based on the current LPM implementation.
* Shared code is moved to the common file "l3fwd_sse.h".
* While sequential packet classification in EM path, seems to be faster
  than using multi hash lookup, used before, it is used by default. Old
  implementation is moved to the file l3fwd_em_hlm_sse.h and can be enabled
  with HASH_LOOKUP_MULTI global define in compilation time.

Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-02-29 11:45:00 +01:00
..
l3fwd_em_hlm_sse.h examples/l3fwd: rework exact-match 2016-02-29 11:45:00 +01:00
l3fwd_em_sse.h examples/l3fwd: rework exact-match 2016-02-29 11:45:00 +01:00
l3fwd_em.c examples/l3fwd: rework exact-match 2016-02-29 11:45:00 +01:00
l3fwd_em.h examples/l3fwd: rework exact-match 2016-02-29 11:45:00 +01:00
l3fwd_lpm_sse.h examples/l3fwd: rework exact-match 2016-02-29 11:45:00 +01:00
l3fwd_lpm.c examples/l3fwd: rework exact-match 2016-02-29 11:45:00 +01:00
l3fwd_lpm.h examples/l3fwd: modularize 2016-02-28 21:56:19 +01:00
l3fwd_sse.h examples/l3fwd: rework exact-match 2016-02-29 11:45:00 +01:00
l3fwd.h examples/l3fwd: rework exact-match 2016-02-29 11:45:00 +01:00
main.c examples/l3fwd: modularize 2016-02-28 21:56:19 +01:00
Makefile examples/l3fwd: modularize 2016-02-28 21:56:19 +01:00