> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tomasz Kulasek
> Sent: Friday, March 18, 2016 10:37
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v4] examples/l3fwd: em path performance fix
> 
> It seems that for the most use cases, previous hash_multi_lookup provides
> better performance, and more, sequential lookup can cause significant
> performance drop.
> 
> This patch sets previously optional hash_multi_lookup method as default.
> It also provides some minor optimizations such as queue drain only on used
> tx ports.
> 
> 
> This patch should be applied after Maciej Czekaj's patch "l3fwd: Fix
> compilation with HASH_MULTI_LOOKUP"
> 
> 
> v4 changes:
>  - rebased to be applicable after patch "l3fwd: Fix compilation with
>    HASH_MULTI_LOOKUP" of Maciej Czekaj
> 
> v3 changes:
>  - "lpm: extend IPv4 next hop field" patch extends dst_port table from
>    uint16_t to uint32_t omiting previously disabled l3fwd_em_hlm_sse.h,
>    what causes incompatible pointer type error after turning on this
> header
> 
> v2 changes:
>  - fixed copy-paste error causing that not all packets are classified
> right
>    in hash_multi_lookup implementation when burst size is not divisible
>    by 8
> 
> Fixes: 94c54b4158d5 ("examples/l3fwd: rework exact-match")
> 
> Reported-by: Qian Xu <qian.q.xu at intel.com>
> Signed-off-by: Tomasz Kulasek <tomaszx.kulasek at intel.com>
> ---
>  examples/l3fwd/l3fwd.h            |    8 ++++++++
>  examples/l3fwd/l3fwd_em.c         |    6 +++---
>  examples/l3fwd/l3fwd_em_hlm_sse.h |   28 ++++++++++------------------
>  examples/l3fwd/l3fwd_em_sse.h     |    9 +++++++++
>  examples/l3fwd/l3fwd_lpm.c        |    4 ++--
>  examples/l3fwd/main.c             |    7 +++++++
>  6 files changed, 39 insertions(+), 23 deletions(-)
> 

Self NACK - I forgot to remove debug options

Reply via email to