diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-02-26 13:16:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-01 16:24:51 -0500 |
commit | fb2dabad69f099fb9c03a44276778911da50ba29 (patch) | |
tree | 07dd9149cfb77ba1cc114da5f104b618574ae64d /drivers | |
parent | 7f66ee41566d00f80ed15c0cec0b237f7af8ac0f (diff) | |
download | linux-fb2dabad69f099fb9c03a44276778911da50ba29.tar.bz2 |
net: dsa: support VLAN filtering switchdev attr
When a user explicitly requests VLAN filtering with something like:
# echo 1 > /sys/class/net/<bridge>/bridge/vlan_filtering
Switchdev propagates a SWITCHDEV_ATTR_ID_BRIDGE_VLAN_FILTERING port
attribute.
Add support for it in the DSA layer with a new port_vlan_filtering
function to let drivers toggle 802.1Q filtering on user demand.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions