summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDENG Qingfang <dqfext@gmail.com>2021-08-06 12:05:27 +0800
committerSasha Levin <sashal@kernel.org>2021-08-26 08:36:37 -0400
commitf08a3b83463c66509b8a1034e5c416cfade1a5cd (patch)
tree84e6b0aa31b86e30d23d93a2ea81974e21141aca /drivers
parent39edeccf57fef8f2ca62c649ace1fb138a965d98 (diff)
net: dsa: mt7530: add the missing RxUnicast MIB counter
[ 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/dsa/mt7530.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c
index 6335c4ea0957..2ff6a0be97de 100644
--- 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"),