net: dsa: mv88e6xxx: add support for bridge flags
authorRussell King <[email protected]>
Wed, 20 Feb 2019 23:35:05 +0000 (15:35 -0800)
committerDavid S. Miller <[email protected]>
Thu, 21 Feb 2019 22:53:07 +0000 (14:53 -0800)
commit4f85901f0063e6f435125f8eb54d12e3108ab064
tree2a4d855fe0e0364ad45b7ff0d07143d6b4762851
parent57652796aa979d5754406c8177f716cb2cf60616
net: dsa: mv88e6xxx: add support for bridge flags

Add support for the bridge flags to Marvell 88e6xxx bridges, allowing
the multicast and unicast flood properties to be controlled.  These
can be controlled on a per-port basis via commands such as:

bridge link set dev lan1 flood on|off
bridge link set dev lan1 mcast_flood on|off

Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Vivien Didelot <[email protected]>
Signed-off-by: Russell King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/dsa/mv88e6xxx/chip.c