linux/Documentation/networking/devlink
Ido Schimmel ec4f5b3617 mlxsw: spectrum: Use different trap group for externally routed packets
Cited commit mistakenly removed the trap group for externally routed
packets (e.g., via the management interface) and grouped locally routed
and externally routed packet traps under the same group, thereby
subjecting them to the same policer.

This can result in problems, for example, when FRR is restarted and
suddenly all transient traffic is trapped to the CPU because of a
default route through the management interface. Locally routed packets
required to re-establish a BGP connection will never reach the CPU and
the routing tables will not be re-populated.

Fix this by using a different trap group for externally routed packets.

Fixes: 8110668ecd ("mlxsw: spectrum_trap: Register layer 3 control traps")
Reported-by: Alex Veber <alexve@mellanox.com>
Tested-by: Alex Veber <alexve@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-29 12:16:21 -07:00
..
bnxt.rst bnxt_en: Fix "fw.mgmt" and "fw.nsci" info via devlink info_get cb 2020-03-27 15:34:43 -07:00
devlink-dpipe.rst devlink: introduce devlink-dpipe.rst documentation file 2020-01-10 17:07:00 -08:00
devlink-flash.rst devlink: expand the devlink-info documentation 2020-03-24 16:47:33 -07:00
devlink-health.rst
devlink-info.rst devlink: Add macro for "fw.mgmt.api" to info_get cb. 2020-03-27 15:34:42 -07:00
devlink-params.rst devlink: expand the devlink-info documentation 2020-03-24 16:47:33 -07:00
devlink-region.rst docs: devlink: clarify the scope of snapshot id 2020-05-04 11:58:31 -07:00
devlink-resource.rst devlink: add a devlink-resource.rst documentation file 2020-01-10 17:07:00 -08:00
devlink-trap.rst mlxsw: spectrum: Use different trap group for externally routed packets 2020-07-29 12:16:21 -07:00
ice.rst ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
index.rst docs: networkng: convert sja1105's devlink info to RTS 2020-06-10 17:07:04 -07:00
ionic.rst devlink: add documentation for ionic device driver 2020-01-10 17:07:00 -08:00
mlx4.rst devlink: add a file documenting devlink regions 2020-01-10 17:07:00 -08:00
mlx5.rst net/mlx5e: Add devlink fdb_large_groups parameter 2020-02-27 16:40:19 -08:00
mlxsw.rst mlxsw: Add irif and erif disabled traps 2020-01-19 16:23:52 +01:00
mv88e6xxx.rst devlink: convert driver-specific files to reStructuredText 2020-01-10 17:06:59 -08:00
netdevsim.rst devlink: rename and expand devlink-trap-netdevsim.rst 2020-01-10 17:07:00 -08:00
nfp.rst devlink: document info versions for each driver 2020-01-10 17:06:59 -08:00
qed.rst devlink: fix typos in qed documentation 2020-01-15 23:14:31 +01:00
sja1105.rst docs: networkng: convert sja1105's devlink info to RTS 2020-06-10 17:07:04 -07:00
ti-cpsw-switch.rst devlink: convert driver-specific files to reStructuredText 2020-01-10 17:06:59 -08:00