OSDN Git Service

net: dsa: request drivers to perform FDB isolation
[uclinux-h8/linux.git] / drivers / net / dsa / b53 / b53_common.c
index 83bf303..a8cc6e1 100644 (file)
@@ -1708,7 +1708,8 @@ static int b53_arl_op(struct b53_device *dev, int op, int port,
 }
 
 int b53_fdb_add(struct dsa_switch *ds, int port,
-               const unsigned char *addr, u16 vid)
+               const unsigned char *addr, u16 vid,
+               struct dsa_db db)
 {
        struct b53_device *priv = ds->priv;
        int ret;
@@ -1728,7 +1729,8 @@ int b53_fdb_add(struct dsa_switch *ds, int port,
 EXPORT_SYMBOL(b53_fdb_add);
 
 int b53_fdb_del(struct dsa_switch *ds, int port,
-               const unsigned char *addr, u16 vid)
+               const unsigned char *addr, u16 vid,
+               struct dsa_db db)
 {
        struct b53_device *priv = ds->priv;
        int ret;
@@ -1829,7 +1831,8 @@ int b53_fdb_dump(struct dsa_switch *ds, int port,
 EXPORT_SYMBOL(b53_fdb_dump);
 
 int b53_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 b53_device *priv = ds->priv;
        int ret;
@@ -1849,7 +1852,8 @@ int b53_mdb_add(struct dsa_switch *ds, int port,
 EXPORT_SYMBOL(b53_mdb_add);
 
 int b53_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 b53_device *priv = ds->priv;
        int ret;