summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/spectrum.h
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2015-10-28 10:16:58 +0100
committerDavid S. Miller <davem@davemloft.net>2015-10-30 12:26:47 +0900
commit0293038e0c36db45f2ea4e4e4a8ce0a0faa62139 (patch)
tree83b623b6ec64c7b77178fea3b2b74170c709243a /drivers/net/ethernet/mellanox/mlxsw/spectrum.h
parent1b3433a942922953df43ef0bc0172119041364c5 (diff)
downloadblackbird-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.h1
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 */
OpenPOWER on IntegriCloud