diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-09-13 05:28:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-16 09:06:12 +0200 |
commit | 53568438e381d680bc84f1fe1d3ed2ac8d7ae85c (patch) | |
tree | 17b2a65e21b80664799a2e34af26a3cd3969b2e7 /drivers/net/dsa/b53/b53_priv.h | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | linux-53568438e381d680bc84f1fe1d3ed2ac8d7ae85c.tar.xz linux-53568438e381d680bc84f1fe1d3ed2ac8d7ae85c.zip |
net: dsa: b53: Add support for port_egress_floods callback
Add support for configuring the per-port egress flooding control for
both Unicast and Multicast traffic.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/b53/b53_priv.h')
-rw-r--r-- | drivers/net/dsa/b53/b53_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/dsa/b53/b53_priv.h b/drivers/net/dsa/b53/b53_priv.h index f25bc80c4ffc..a7dd8acc281b 100644 --- a/drivers/net/dsa/b53/b53_priv.h +++ b/drivers/net/dsa/b53/b53_priv.h @@ -319,6 +319,8 @@ int b53_br_join(struct dsa_switch *ds, int port, struct net_device *bridge); void b53_br_leave(struct dsa_switch *ds, int port, struct net_device *bridge); void b53_br_set_stp_state(struct dsa_switch *ds, int port, u8 state); void b53_br_fast_age(struct dsa_switch *ds, int port); +int b53_br_egress_floods(struct dsa_switch *ds, int port, + bool unicast, bool multicast); void b53_port_event(struct dsa_switch *ds, int port); void b53_phylink_validate(struct dsa_switch *ds, int port, unsigned long *supported, |