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>
This commit is contained in:

committed by
David S. Miller

parent
471beb11c4
commit
209edf95da
@@ -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
|
||||
|
Reference in New Issue
Block a user