[dpdk-dev] [PATCH v2 0/4] lpm lookupx4 fixes
David Marchand
david.marchand at redhat.com
Thu Jan 14 16:25:19 CET 2021
On Thu, Jan 14, 2021 at 7:59 AM Ruifeng Wang <ruifeng.wang at arm.com> wrote:
>
> This series fixed bug in lpm4 vector lookup implementations.
> When more than 256 tbl8 groups are created, lookupx4 could
> retrieve next hop data from wrong group.
> The bug is there since next_hop field was expanded from
> 8-bit to 24-bit, and inherited by other implementations.
>
> Also updated test case to improve coverage to detect such
> failure.
>
> Ruifeng Wang (4):
> lpm: fix vector lookup for Arm
> lpm: fix vector lookup for x86
> lpm: fix vector lookup for ppc64
> test/lpm: improve coverage on tbl8
>
> app/test/test_lpm.c | 25 +++++++++++++++++--------
> lib/librte_lpm/rte_lpm_altivec.h | 8 ++++----
> lib/librte_lpm/rte_lpm_neon.h | 8 ++++----
> lib/librte_lpm/rte_lpm_sse.h | 8 ++++----
> 4 files changed, 29 insertions(+), 20 deletions(-)
Squashed patches 1-3 into one and applied the series, thanks.
--
David Marchand
More information about the dev
mailing list