Skip to content

Commit 26892ff

Browse files
viviendavem330
authored andcommitted
net: dsa: mv88e6131: enable hardware bridging
By adding support for bridge operations, FDB operations, and optionally VLAN operations (for 802.1Q and VLAN filtering aware systems), the switch bridges ports correctly, the CPU is able to populate the hardware address databases, and thus hardware bridging becomes functional within the 88E6185 family of switches. Signed-off-by: Vivien Didelot <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent f93dd04 commit 26892ff

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/net/dsa/mv88e6131.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,17 @@ struct dsa_switch_driver mv88e6131_switch_driver = {
169169
.get_ethtool_stats = mv88e6xxx_get_ethtool_stats,
170170
.get_sset_count = mv88e6xxx_get_sset_count,
171171
.adjust_link = mv88e6xxx_adjust_link,
172+
.port_bridge_join = mv88e6xxx_port_bridge_join,
173+
.port_bridge_leave = mv88e6xxx_port_bridge_leave,
174+
.port_vlan_filtering = mv88e6xxx_port_vlan_filtering,
175+
.port_vlan_prepare = mv88e6xxx_port_vlan_prepare,
176+
.port_vlan_add = mv88e6xxx_port_vlan_add,
177+
.port_vlan_del = mv88e6xxx_port_vlan_del,
178+
.port_vlan_dump = mv88e6xxx_port_vlan_dump,
179+
.port_fdb_prepare = mv88e6xxx_port_fdb_prepare,
180+
.port_fdb_add = mv88e6xxx_port_fdb_add,
181+
.port_fdb_del = mv88e6xxx_port_fdb_del,
182+
.port_fdb_dump = mv88e6xxx_port_fdb_dump,
172183
};
173184

174185
MODULE_ALIAS("platform:mv88e6085");

0 commit comments

Comments
 (0)