diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-06-21 13:46:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-23 05:41:05 +0200 |
commit | 209edf95da63a0ad19750769f473f4ea1553d21d (patch) | |
tree | 466bb48e977a4a0e1c500d9418f10c1bfe174c74 /include/soc | |
parent | net: mscc: ocelot: make the NPI port a proper target for FDB and MDB (diff) | |
download | linux-209edf95da63a0ad19750769f473f4ea1553d21d.tar.xz linux-209edf95da63a0ad19750769f473f4ea1553d21d.zip |
net: dsa: felix: call port mdb operations from ocelot
This adds the mdb hooks in felix and exports the mdb functions from
ocelot.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/soc')
-rw-r--r-- | include/soc/mscc/ocelot.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/soc/mscc/ocelot.h b/include/soc/mscc/ocelot.h index fa2c3904049e..80415b63ccfa 100644 --- a/include/soc/mscc/ocelot.h +++ b/include/soc/mscc/ocelot.h @@ -641,5 +641,9 @@ int ocelot_cls_flower_destroy(struct ocelot *ocelot, int port, struct flow_cls_offload *f, bool ingress); int ocelot_cls_flower_stats(struct ocelot *ocelot, int port, struct flow_cls_offload *f, bool ingress); +int ocelot_port_mdb_add(struct ocelot *ocelot, int port, + const struct switchdev_obj_port_mdb *mdb); +int ocelot_port_mdb_del(struct ocelot *ocelot, int port, + const struct switchdev_obj_port_mdb *mdb); #endif |