diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2020-06-21 14:46:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-22 20:41:05 -0700 |
commit | 209edf95da63a0ad19750769f473f4ea1553d21d (patch) | |
tree | 466bb48e977a4a0e1c500d9418f10c1bfe174c74 /include/soc/mscc | |
parent | 471beb11c4ecdefd1d8502861c5e151fd642dc6e (diff) |
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/mscc')
-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 |