net: dsa: change FDB routines prototypes
Change the prototype of port_getnext to include a vid parameter. This is necessary to introduce the support for VLAN. Also rename the fdb_{add,del,getnext} function pointers to port_fdb_{add,del,getnext} since they are specific to a given port. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
c5723ac51f
commit
2a778e1b58
@@ -343,9 +343,9 @@ struct dsa_switch_driver mv88e6352_switch_driver = {
|
||||
.port_join_bridge = mv88e6xxx_join_bridge,
|
||||
.port_leave_bridge = mv88e6xxx_leave_bridge,
|
||||
.port_stp_update = mv88e6xxx_port_stp_update,
|
||||
.fdb_add = mv88e6xxx_port_fdb_add,
|
||||
.fdb_del = mv88e6xxx_port_fdb_del,
|
||||
.fdb_getnext = mv88e6xxx_port_fdb_getnext,
|
||||
.port_fdb_add = mv88e6xxx_port_fdb_add,
|
||||
.port_fdb_del = mv88e6xxx_port_fdb_del,
|
||||
.port_fdb_getnext = mv88e6xxx_port_fdb_getnext,
|
||||
};
|
||||
|
||||
MODULE_ALIAS("platform:mv88e6172");
|
||||
|
Reference in New Issue
Block a user