|
@@ -1870,13 +1870,13 @@ int mv88e6xxx_port_fdb_add(struct dsa_switch *ds, int port,
|
|
|
}
|
|
|
|
|
|
int mv88e6xxx_port_fdb_del(struct dsa_switch *ds, int port,
|
|
|
- const unsigned char *addr, u16 vid)
|
|
|
+ const struct switchdev_obj_port_fdb *fdb)
|
|
|
{
|
|
|
struct mv88e6xxx_priv_state *ps = ds_to_priv(ds);
|
|
|
int ret;
|
|
|
|
|
|
mutex_lock(&ps->smi_mutex);
|
|
|
- ret = _mv88e6xxx_port_fdb_load(ds, port, addr, vid,
|
|
|
+ ret = _mv88e6xxx_port_fdb_load(ds, port, fdb->addr, fdb->vid,
|
|
|
GLOBAL_ATU_DATA_STATE_UNUSED);
|
|
|
mutex_unlock(&ps->smi_mutex);
|
|
|
|