]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Remove unused traps
authorNogah Frankel <nogahf@mellanox.com>
Fri, 25 Nov 2016 09:33:29 +0000 (10:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2016 02:22:14 +0000 (21:22 -0500)
commit4a3bdbb4a431cdb85f86868cf46db9bf28195499
treeb3b057bbcb1e57bc86c6a847de3bed95d13cd804
parent267ddc301a9bb6ea3977f339f1eec5d1f2f8dba1
mlxsw: spectrum: Remove unused traps

Since commit 1cc503140fec ("mlxsw: spectrum: Introduce support for
router interfaces") we no longer rely on flooding traffic to the CPU in
order to trap packets intended for the host itself. Therefore, the FDB
MC trap can be removed.
Remove traps for protocols that are not supported yet.

Signed-off-by: Nogah Frankel <nogahf@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