projects
/
wrapfs-4.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a4c268
)
net: dsa: mt7530: add the missing RxUnicast MIB counter
author
DENG Qingfang
<dqfext@gmail.com>
Fri, 6 Aug 2021 04:05:27 +0000
(12:05 +0800)
committer
Sasha Levin
<sashal@kernel.org>
Thu, 26 Aug 2021 12:37:01 +0000
(08:37 -0400)
[ Upstream commit
aff51c5da3208bd164381e1488998667269c6cf4
]
Add the missing RxUnicast counter.
Fixes: b8f126a8d543 ("net-next: dsa: add dsa support for Mediatek MT7530 switch")
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/dsa/mt7530.c
patch
|
blob
|
history
diff --git
a/drivers/net/dsa/mt7530.c
b/drivers/net/dsa/mt7530.c
index 58c16aa00a705ce981f4b56e4a8a7b613df2c992..fdfef3a7c05afe8b2d297d65bac05f1720c801a1 100644
(file)
--- a/
drivers/net/dsa/mt7530.c
+++ b/
drivers/net/dsa/mt7530.c
@@
-54,6
+54,7
@@
static const struct mt7530_mib_desc mt7530_mib[] = {
MIB_DESC(2, 0x48, "TxBytes"),
MIB_DESC(1, 0x60, "RxDrop"),
MIB_DESC(1, 0x64, "RxFiltering"),
+ MIB_DESC(1, 0x68, "RxUnicast"),
MIB_DESC(1, 0x6c, "RxMulticast"),
MIB_DESC(1, 0x70, "RxBroadcast"),
MIB_DESC(1, 0x74, "RxAlignErr"),