]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Add BGP trap
authorNogah Frankel <nogahf@mellanox.com>
Fri, 25 Nov 2016 09:33:43 +0000 (10:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2016 02:22:14 +0000 (21:22 -0500)
commitfe0cb562b867520d79ecab984b52528758fe95d5
tree17a41b2cc6e6b3c41aa679f74a5a4da64f3ba443
parent2a7136fc3fe50cebf10b6e83c6cb1fc27ba4209d
mlxsw: spectrum: Add BGP trap

Add a trap for BGP protocol that was previously trapped by the generic trap
for IP2ME. This trap will allow us to have better control (over priority
and rate) of the traffic.

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