mlxsw: spectrum: Add another flood table for vFIDs
authorIdo Schimmel <idosch@mellanox.com>
Tue, 15 Dec 2015 15:03:39 +0000 (16:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 16:58:21 +0000 (11:58 -0500)
commit19ae61241485981aa4fae5d494923a27e4d00fba
tree21a4023a91645364e5910aed8560e4c6641a4dad
parentc06a94ef61b920f2c2374f1195db982c835b651a
mlxsw: spectrum: Add another flood table for vFIDs

We previously used only one flood table for packets classified to vFIDs.
However, since we are going to add support for bridges between VLAN
interfaces (mapped to vFIDs) we need to add one more flood table.

That way we can separate the flooding domain of unknown unicast traffic
from all the rest and support flood control (as we do with the 802.1Q
bridge).

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c