94c54b4158
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> |
||
---|---|---|
.. | ||
l3fwd_em_hlm_sse.h | ||
l3fwd_em_sse.h | ||
l3fwd_em.c | ||
l3fwd_em.h | ||
l3fwd_lpm_sse.h | ||
l3fwd_lpm.c | ||
l3fwd_lpm.h | ||
l3fwd_sse.h | ||
l3fwd.h | ||
main.c | ||
Makefile |