[dpdk-dev] [PATCH v3] examples/l3fwd: exact-match rework

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Feb 29 11:45:39 CET 2016


2016-02-29 11:33, Tomasz Kulasek:
> 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.
> 
> This patch depends of Ravi Kerur's "Modify and modularize l3fwd code" and
> should be applied after it.
> 
> Changes in v3:
>  - fixed error: unused function 'l3fwd_em_simple_forward'. This function is
>    used only in l3fwd_em_no_opt_send_packets, and after moving it to new
>    header file l3fwd_em.h in Ravi's patch, also should be moved there.
> 
> Changes in v2:
>  - patch rebase to be applicable on top of "Modify and modularize l3fwd
>    code" v3
> 
> Signed-off-by: Tomasz Kulasek <tomaszx.kulasek at intel.com>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

Applied, thanks


More information about the dev mailing list