]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a60e5a374ffdf851374102223d29c4756717c00
tree21a4023a91645364e5910aed8560e4c6641a4dad
parentd4b51868296539b926d906ae6837c95347ac5f78
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