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 C7650A0350 for ; Mon, 21 Feb 2022 16:43:17 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B81E5410E0; Mon, 21 Feb 2022 16:43:17 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 74680410E0 for ; Mon, 21 Feb 2022 16:43:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645458196; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6H4ysFkABlPejHYh+5h1UCd8U8vGQ78GW65kbPTjgR8=; b=EOrTpoYch8Sh73nT0dbSXZB3VmIDGNR6LD4dlNn2CisBOLlUhcs6/YXw33nstvih7J+vN9 qw4fhlHX4/bn0XV5/n6uFYZxbi657pG5lgrS7SLf7EqLfmAivXeQGAHVqOVfl2Bvqfv1nI K2Nw47k2AKUqRT9wWeCdvZ/6eYkdIS4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-627-m2To_ou6OWWQi88kpc46jg-1; Mon, 21 Feb 2022 10:43:11 -0500 X-MC-Unique: m2To_ou6OWWQi88kpc46jg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 77EEC81424D; Mon, 21 Feb 2022 15:43:10 +0000 (UTC) Received: from rh.Home (unknown [10.39.195.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9BE797E2EF; Mon, 21 Feb 2022 15:43:09 +0000 (UTC) From: Kevin Traynor To: Jiawen Wu Cc: dpdk stable Subject: patch 'net/ngbe: fix packet statistics' has been queued to stable release 21.11.1 Date: Mon, 21 Feb 2022 15:36:11 +0000 Message-Id: <20220221153625.152324-182-ktraynor@redhat.com> In-Reply-To: <20220221153625.152324-1-ktraynor@redhat.com> References: <20220221153625.152324-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 21.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/26/22. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/59691181a3441269bafbbfabeeb1d4d4b5e2de1a Thanks. Kevin --- >From 59691181a3441269bafbbfabeeb1d4d4b5e2de1a Mon Sep 17 00:00:00 2001 From: Jiawen Wu Date: Wed, 9 Feb 2022 18:42:05 +0800 Subject: [PATCH] net/ngbe: fix packet statistics [ upstream commit 5c305e4058014f11e5898091b3a050bef2a02b34 ] Fix specific length packet statistics caused by wrong register addresses. Fixes: ed5f3bd3373e ("net/ngbe: define registers") Signed-off-by: Jiawen Wu --- drivers/net/ngbe/base/ngbe_regs.h | 48 +++++++++++++++---------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/net/ngbe/base/ngbe_regs.h b/drivers/net/ngbe/base/ngbe_regs.h index e84bfdf88a..6432ad8736 100644 --- a/drivers/net/ngbe/base/ngbe_regs.h +++ b/drivers/net/ngbe/base/ngbe_regs.h @@ -786,28 +786,28 @@ enum ngbe_5tuple_protocol { #define NGBE_MACRXERRLENL 0x011978 #define NGBE_MACRXERRLENH 0x01197C -#define NGBE_MACRX1TO64L 0x001940 -#define NGBE_MACRX1TO64H 0x001944 -#define NGBE_MACRX65TO127L 0x001948 -#define NGBE_MACRX65TO127H 0x00194C -#define NGBE_MACRX128TO255L 0x001950 -#define NGBE_MACRX128TO255H 0x001954 -#define NGBE_MACRX256TO511L 0x001958 -#define NGBE_MACRX256TO511H 0x00195C -#define NGBE_MACRX512TO1023L 0x001960 -#define NGBE_MACRX512TO1023H 0x001964 -#define NGBE_MACRX1024TOMAXL 0x001968 -#define NGBE_MACRX1024TOMAXH 0x00196C -#define NGBE_MACTX1TO64L 0x001834 -#define NGBE_MACTX1TO64H 0x001838 -#define NGBE_MACTX65TO127L 0x00183C -#define NGBE_MACTX65TO127H 0x001840 -#define NGBE_MACTX128TO255L 0x001844 -#define NGBE_MACTX128TO255H 0x001848 -#define NGBE_MACTX256TO511L 0x00184C -#define NGBE_MACTX256TO511H 0x001850 -#define NGBE_MACTX512TO1023L 0x001854 -#define NGBE_MACTX512TO1023H 0x001858 -#define NGBE_MACTX1024TOMAXL 0x00185C -#define NGBE_MACTX1024TOMAXH 0x001860 +#define NGBE_MACRX1TO64L 0x011940 +#define NGBE_MACRX1TO64H 0x011944 +#define NGBE_MACRX65TO127L 0x011948 +#define NGBE_MACRX65TO127H 0x01194C +#define NGBE_MACRX128TO255L 0x011950 +#define NGBE_MACRX128TO255H 0x011954 +#define NGBE_MACRX256TO511L 0x011958 +#define NGBE_MACRX256TO511H 0x01195C +#define NGBE_MACRX512TO1023L 0x011960 +#define NGBE_MACRX512TO1023H 0x011964 +#define NGBE_MACRX1024TOMAXL 0x011968 +#define NGBE_MACRX1024TOMAXH 0x01196C +#define NGBE_MACTX1TO64L 0x011834 +#define NGBE_MACTX1TO64H 0x011838 +#define NGBE_MACTX65TO127L 0x01183C +#define NGBE_MACTX65TO127H 0x011840 +#define NGBE_MACTX128TO255L 0x011844 +#define NGBE_MACTX128TO255H 0x011848 +#define NGBE_MACTX256TO511L 0x01184C +#define NGBE_MACTX256TO511H 0x011850 +#define NGBE_MACTX512TO1023L 0x011854 +#define NGBE_MACTX512TO1023H 0x011858 +#define NGBE_MACTX1024TOMAXL 0x01185C +#define NGBE_MACTX1024TOMAXH 0x011860 #define NGBE_MACRXUNDERSIZE 0x011938 -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-02-21 15:22:48.483793376 +0000 +++ 0182-net-ngbe-fix-packet-statistics.patch 2022-02-21 15:22:44.358704728 +0000 @@ -1 +1 @@ -From 5c305e4058014f11e5898091b3a050bef2a02b34 Mon Sep 17 00:00:00 2001 +From 59691181a3441269bafbbfabeeb1d4d4b5e2de1a Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 5c305e4058014f11e5898091b3a050bef2a02b34 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org