diff options
author | Ido Schimmel <idosch@mellanox.com> | 2015-10-28 10:16:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-30 12:26:47 +0900 |
commit | 0293038e0c36db45f2ea4e4e4a8ce0a0faa62139 (patch) | |
tree | 83b623b6ec64c7b77178fea3b2b74170c709243a /drivers/net/ethernet/mellanox/mlxsw/spectrum.h | |
parent | 1b3433a942922953df43ef0bc0172119041364c5 (diff) | |
download | blackbird-op-linux-0293038e0c36db45f2ea4e4e4a8ce0a0faa62139.tar.gz blackbird-op-linux-0293038e0c36db45f2ea4e4e4a8ce0a0faa62139.zip |
mlxsw: spectrum: Add support for flood control
Add or remove a bridged port from the flooding domain of unknown unicast
packets according to user configuration.
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 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h index b4d839371ac6..4365c8bccc6d 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h @@ -86,6 +86,7 @@ struct mlxsw_sp_port { u8 stp_state; u8 learning:1, learning_sync:1, + uc_flood:1, bridged:1; u16 pvid; /* 802.1Q bridge VLANs */ |