[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230426202815.2991822-1-angelo@kernel-space.org>
Date: Wed, 26 Apr 2023 22:28:15 +0200
From: Angelo Dureghello <angelo@...nel-space.org>
To: andrew@...n.ch, vivien.didelot@...il.com, olteanv@...il.com
Cc: netdev@...r.kernel.org,
Angelo Dureghello <angelo.dureghello@...esys.com>
Subject: [PATCH v2] net: dsa: mv88e6xxx: add mv88e6321 rsvd2cpu
From: Angelo Dureghello <angelo.dureghello@...esys.com>
Add rsvd2cpu capability for mv88e6321 model, to allow proper bpdu
processing.
Signed-off-by: Angelo Dureghello <angelo.dureghello@...esys.com>
Fixes: 51c901a775621 ("net: dsa: mv88e6xxx: distinguish Global 2 Rsvd2CPU")
---
Changes for v2:
- use mv88e6352_g2_mgmt_rsvd2cpu instead of mv88e6185_g2_mgmt_rsvd2cpu
---
drivers/net/dsa/mv88e6xxx/chip.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c
index 7108f745fbf0..902f40721340 100644
--- a/drivers/net/dsa/mv88e6xxx/chip.c
+++ b/drivers/net/dsa/mv88e6xxx/chip.c
@@ -5182,6 +5182,7 @@ static const struct mv88e6xxx_ops mv88e6321_ops = {
.set_cpu_port = mv88e6095_g1_set_cpu_port,
.set_egress_port = mv88e6095_g1_set_egress_port,
.watchdog_ops = &mv88e6390_watchdog_ops,
+ .mgmt_rsvd2cpu = mv88e6352_g2_mgmt_rsvd2cpu,
.reset = mv88e6352_g1_reset,
.vtu_getnext = mv88e6185_g1_vtu_getnext,
.vtu_loadpurge = mv88e6185_g1_vtu_loadpurge,
--
2.40.0
Powered by blists - more mailing lists