From: Jiawen Wu <jiawenwu@trustnetic.com>
To: dev@dpdk.org
Cc: Jiawen Wu <jiawenwu@trustnetic.com>, stable@dpdk.org
Subject: [dpdk-dev] [PATCH 1/2] net/txgbe: fix RxTx packet statistics
Date: Tue, 2 Nov 2021 16:10:25 +0800 [thread overview]
Message-ID: <20211102081026.22440-1-jiawenwu@trustnetic.com> (raw)
Fix specific length packet statistics caused by wrong register addresses.
Fixes: 24a4c76aff4d ("net/txgbe: add error types and registers")
Cc: stable@dpdk.org
Signed-off-by: Jiawen Wu <jiawenwu@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 48d9300a2e..144047ba62 100644
--- a/drivers/net/txgbe/base/txgbe_regs.h
+++ b/drivers/net/txgbe/base/txgbe_regs.h
@@ -1072,30 +1072,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.21.0.windows.1
next reply other threads:[~2021-11-02 8:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-02 8:10 Jiawen Wu [this message]
2021-11-02 8:10 ` [dpdk-dev] [PATCH 2/2] net/txgbe: fix link process in KR mode Jiawen Wu
2021-11-04 16:17 ` [dpdk-dev] [dpdk-stable] " Ferruh Yigit
2021-11-04 16:23 ` [dpdk-dev] [dpdk-stable] [PATCH 1/2] net/txgbe: fix RxTx packet statistics Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211102081026.22440-1-jiawenwu@trustnetic.com \
--to=jiawenwu@trustnetic.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).