diff options
author | Ido Schimmel <idosch@mellanox.com> | 2016-08-24 06:00:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-24 12:41:12 -0400 |
commit | 584d73df06253f206e31ff897a475283167bf0f0 (patch) | |
tree | 61f599c699ee06dc38671ab391c7f68d279a5e31 /net/switchdev/switchdev.c | |
parent | 640be7b7177dbe026cf7ae387b21f6917f0fc44f (diff) |
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/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions