[dpdk-stable] patch 'net/txgbe: fix packet statistics' has been queued to stable release 20.11.4
Xueming Li
xuemingl at nvidia.com
Wed Nov 10 07:31:51 CET 2021
Hi,
FYI, your patch has been queued to stable release 20.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/12/21. 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/steevenlee/dpdk
This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/caefd6b5c0afab8ac02b7ce1b653bed4232bb464
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From caefd6b5c0afab8ac02b7ce1b653bed4232bb464 Mon Sep 17 00:00:00 2001
From: Jiawen Wu <jiawenwu at trustnetic.com>
Date: Tue, 2 Nov 2021 16:10:25 +0800
Subject: [PATCH] net/txgbe: fix packet statistics
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 3d4f43ea310e44ffc2b89b2306ea40707c290147 ]
Fix specific length packet statistics caused by wrong register
addresses.
Fixes: 24a4c76aff4d ("net/txgbe: add error types and registers")
Signed-off-by: Jiawen Wu <jiawenwu at trustnetic.com>
---
drivers/net/txgbe/base/txgbe_regs.h | 48 ++++++++++++++---------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/drivers/net/txgbe/base/txgbe_regs.h b/drivers/net/txgbe/base/txgbe_regs.h
index 83c219a6e2..3314975935 100644
--- a/drivers/net/txgbe/base/txgbe_regs.h
+++ b/drivers/net/txgbe/base/txgbe_regs.h
@@ -1071,30 +1071,30 @@ enum txgbe_5tuple_protocol {
#define TXGBE_MACRXERRCRCH 0x01192C
#define TXGBE_MACRXERRLENL 0x011978
#define TXGBE_MACRXERRLENH 0x01197C
-#define TXGBE_MACRX1TO64L 0x001940
-#define TXGBE_MACRX1TO64H 0x001944
-#define TXGBE_MACRX65TO127L 0x001948
-#define TXGBE_MACRX65TO127H 0x00194C
-#define TXGBE_MACRX128TO255L 0x001950
-#define TXGBE_MACRX128TO255H 0x001954
-#define TXGBE_MACRX256TO511L 0x001958
-#define TXGBE_MACRX256TO511H 0x00195C
-#define TXGBE_MACRX512TO1023L 0x001960
-#define TXGBE_MACRX512TO1023H 0x001964
-#define TXGBE_MACRX1024TOMAXL 0x001968
-#define TXGBE_MACRX1024TOMAXH 0x00196C
-#define TXGBE_MACTX1TO64L 0x001834
-#define TXGBE_MACTX1TO64H 0x001838
-#define TXGBE_MACTX65TO127L 0x00183C
-#define TXGBE_MACTX65TO127H 0x001840
-#define TXGBE_MACTX128TO255L 0x001844
-#define TXGBE_MACTX128TO255H 0x001848
-#define TXGBE_MACTX256TO511L 0x00184C
-#define TXGBE_MACTX256TO511H 0x001850
-#define TXGBE_MACTX512TO1023L 0x001854
-#define TXGBE_MACTX512TO1023H 0x001858
-#define TXGBE_MACTX1024TOMAXL 0x00185C
-#define TXGBE_MACTX1024TOMAXH 0x001860
+#define TXGBE_MACRX1TO64L 0x011940
+#define TXGBE_MACRX1TO64H 0x011944
+#define TXGBE_MACRX65TO127L 0x011948
+#define TXGBE_MACRX65TO127H 0x01194C
+#define TXGBE_MACRX128TO255L 0x011950
+#define TXGBE_MACRX128TO255H 0x011954
+#define TXGBE_MACRX256TO511L 0x011958
+#define TXGBE_MACRX256TO511H 0x01195C
+#define TXGBE_MACRX512TO1023L 0x011960
+#define TXGBE_MACRX512TO1023H 0x011964
+#define TXGBE_MACRX1024TOMAXL 0x011968
+#define TXGBE_MACRX1024TOMAXH 0x01196C
+#define TXGBE_MACTX1TO64L 0x011834
+#define TXGBE_MACTX1TO64H 0x011838
+#define TXGBE_MACTX65TO127L 0x01183C
+#define TXGBE_MACTX65TO127H 0x011840
+#define TXGBE_MACTX128TO255L 0x011844
+#define TXGBE_MACTX128TO255H 0x011848
+#define TXGBE_MACTX256TO511L 0x01184C
+#define TXGBE_MACTX256TO511H 0x011850
+#define TXGBE_MACTX512TO1023L 0x011854
+#define TXGBE_MACTX512TO1023H 0x011858
+#define TXGBE_MACTX1024TOMAXL 0x01185C
+#define TXGBE_MACTX1024TOMAXH 0x011860
#define TXGBE_MACRXUNDERSIZE 0x011938
#define TXGBE_MACRXOVERSIZE 0x01193C
--
2.33.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2021-11-10 14:17:11.919468798 +0800
+++ 0227-net-txgbe-fix-packet-statistics.patch 2021-11-10 14:17:02.054077924 +0800
@@ -1 +1 @@
-From 3d4f43ea310e44ffc2b89b2306ea40707c290147 Mon Sep 17 00:00:00 2001
+From caefd6b5c0afab8ac02b7ce1b653bed4232bb464 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 3d4f43ea310e44ffc2b89b2306ea40707c290147 ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org
@@ -18 +20 @@
-index 48d9300a2e..144047ba62 100644
+index 83c219a6e2..3314975935 100644
@@ -21 +23 @@
-@@ -1072,30 +1072,30 @@ enum txgbe_5tuple_protocol {
+@@ -1071,30 +1071,30 @@ enum txgbe_5tuple_protocol {
More information about the stable
mailing list