]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit616d8040e56fa5cd276c988e351cc928002c3502
tree17a41b2cc6e6b3c41aa679f74a5a4da64f3ba443
parent579c82e4c5a8d6653533b2ffd8a2b519928050cb
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