OSDN Git Service

net: dsa: request drivers to perform FDB isolation
[uclinux-h8/linux.git] / drivers / net / dsa / microchip / ksz_common.c
index 94e618b..104458e 100644 (file)
@@ -276,7 +276,8 @@ int ksz_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb,
 EXPORT_SYMBOL_GPL(ksz_port_fdb_dump);
 
 int ksz_port_mdb_add(struct dsa_switch *ds, int port,
-                    const struct switchdev_obj_port_mdb *mdb)
+                    const struct switchdev_obj_port_mdb *mdb,
+                    struct dsa_db db)
 {
        struct ksz_device *dev = ds->priv;
        struct alu_struct alu;
@@ -321,7 +322,8 @@ int ksz_port_mdb_add(struct dsa_switch *ds, int port,
 EXPORT_SYMBOL_GPL(ksz_port_mdb_add);
 
 int ksz_port_mdb_del(struct dsa_switch *ds, int port,
-                    const struct switchdev_obj_port_mdb *mdb)
+                    const struct switchdev_obj_port_mdb *mdb,
+                    struct dsa_db db)
 {
        struct ksz_device *dev = ds->priv;
        struct alu_struct alu;