]> git.baikalelectronics.ru Git - kernel.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)
commit31441584cef9eb4f0f2f42e4532b576d961d2379
tree45f7bcc667916bc0e0f6e5f2c62225b3b4050741
parent8bdc253bedc8dd45158c726df3d2f17b4f46f7af
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