From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D244FA0A02; Thu, 14 Jan 2021 16:25:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCA4A14137C; Thu, 14 Jan 2021 16:25:35 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mails.dpdk.org (Postfix) with ESMTP id 0A82E14136F for ; Thu, 14 Jan 2021 16:25:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610637933; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BsomIujRvpkuzTxr8R+BtpVnQUpYOtyLPGnJ/o4Zj+8=; b=H1QgGXZR1g5KRcJyCeOECkHOionEL4Q8eAeax8HSthoY3F7ULStqfNNZ1+aTd81r2E1tWN X2yi/nQHBn8S4hoMI0LfL8ZyPGvWzMa2hyMwuHOvrPeFiGVU0MJ64hceisS/ZTd3RtWdLS JW8yCZO/vPBp9LyOeYMVTGsIYXD2n3U= Received: from mail-ua1-f72.google.com (mail-ua1-f72.google.com [209.85.222.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-452-sgF84egiPPqVR66xcLYUYg-1; Thu, 14 Jan 2021 10:25:32 -0500 X-MC-Unique: sgF84egiPPqVR66xcLYUYg-1 Received: by mail-ua1-f72.google.com with SMTP id b38so503564uab.19 for ; Thu, 14 Jan 2021 07:25:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BsomIujRvpkuzTxr8R+BtpVnQUpYOtyLPGnJ/o4Zj+8=; b=t/+a8VgwFJeAAoANySTuZD38c7lSlZuEsgcdwFbDgejTSMZfeGn7v4NwtfsH/X47uq a4ISTviISGX81KSPKFLolq3gwnuyFGJQ7UDdE/1ULiTiLKu3wgVOH+xJTct87Xc6xYZL kUegGoTGrcSkxlnmtUQOvcG9GnUlNyoNOEg0mnyJ7G5KBWmCeEGO1STvjnNEOCJ16fwd ZrIz5zgN4fi8oIQEozBq+qKypCwVZQoVNOxBWKTYwHFP1rmV5MFyF5s6jQMhOxGarEKf B8mdIMpC5QR6d8maqixiSQiSAC+OQO2XP0T8HmOuDy6JSYYjHUh0ZzKizvUlBWS0Fky1 weQw== X-Gm-Message-State: AOAM533FoDSk3ATcj9141vWSLvfQhOpFunzeIyNIkswFMW443BwtI7t6 DYE65ZEGmmHbwucjdOoFuqJO157KulyEnwtWVTHFXol/xkVdI+YO5937y9piDyke8Lk187R5MFm B3BXlNmKOBtIUQL8wZ7M= X-Received: by 2002:a05:6102:3136:: with SMTP id f22mr5785192vsh.17.1610637931531; Thu, 14 Jan 2021 07:25:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyYf72jP1XqMRL7DTsE2rrKQaQQ2LA73bcqnaak2u+bqXhYqLUrho+Y9asU5y/xqYyguVRMlHEJBaswcMow5Cc= X-Received: by 2002:a05:6102:3136:: with SMTP id f22mr5785171vsh.17.1610637931360; Thu, 14 Jan 2021 07:25:31 -0800 (PST) MIME-Version: 1.0 References: <20210108082127.1061538-1-ruifeng.wang@arm.com> <20210114065926.1200855-1-ruifeng.wang@arm.com> In-Reply-To: <20210114065926.1200855-1-ruifeng.wang@arm.com> From: David Marchand Date: Thu, 14 Jan 2021 16:25:19 +0100 Message-ID: To: Ruifeng Wang Cc: dev , nd , Vladimir Medvedkin , Jerin Jacob Kollanukkaran , David Christensen , Honnappa Nagarahalli Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 0/4] lpm lookupx4 fixes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jan 14, 2021 at 7:59 AM Ruifeng Wang 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