]> asedeno.scripts.mit.edu Git - linux.git/commit
net: dsa: add support for bridge flags
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 20 Feb 2019 23:35:04 +0000 (15:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Feb 2019 22:53:07 +0000 (14:53 -0800)
commit57652796aa979d5754406c8177f716cb2cf60616
tree45f7bcc667916bc0e0f6e5f2c62225b3b4050741
parent08e71623c8223723b19d079933974645d52967c6
net: dsa: add support for bridge flags

The Linux bridge implementation allows various properties of the bridge
to be controlled, such as flooding unknown unicast and multicast frames.
This patch adds the necessary DSA infrastructure to allow the Linux
bridge support to control these properties for DSA switches.

Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
[florian: Add missing dp and ds variables declaration to fix build]
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/dsa_priv.h
net/dsa/port.c
net/dsa/slave.c