diff options
author | 2016-08-24 12:00:26 +0200 | |
---|---|---|
committer | 2016-08-24 09:41:12 -0700 | |
commit | 584d73df06253f206e31ff897a475283167bf0f0 (patch) | |
tree | 61f599c699ee06dc38671ab391c7f68d279a5e31 /net/dsa/dsa.c | |
parent | mlxsw: spectrum: Don't abort on first error when removing VLANs (diff) | |
download | wireguard-linux-584d73df06253f206e31ff897a475283167bf0f0.tar.xz wireguard-linux-584d73df06253f206e31ff897a475283167bf0f0.zip |
mlxsw: spectrum: Configure learning for VLAN-aware bridge port
We are going to prevent the device from generating learning
notifications for a port that was configured with learning disabled.
Since learning configuration is done per {Port, VID} we need to apply
the port's learning configuration for any VID that is added to the
bridge port's VLAN filter list.
When a VID is added to the VLAN filter list of a VLAN-aware bridge port,
configure the {Port, VID} learning status according to the port's
configuration. When the VID is removed, disable learning for the {Port,
VID}.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions