]> git.karo-electronics.de Git - linux-beck.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)
commitee4a60d898826d34b804a357847c7910aba80b96
treeb3b057bbcb1e57bc86c6a847de3bed95d13cd804
parenteafa6abd99eadb8971c01a4c591295ac4d8d0a9b
mlxsw: spectrum: Remove unused traps

Since commit 99724c18fc66 ("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