]> 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)
commitc9f404a9189d7ccaf74f306ae315631d1dc9e47d
tree21a4023a91645364e5910aed8560e4c6641a4dad
parent92e22b22e9deaa7862136b9601218ac307ca4ccf
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