linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Ido Schimmel d12d846821 mlxsw: spectrum_trap: Switch to use correct packet trap group
Some packet traps are currently exposed to user space as being member of
"l3_drops" trap group, but internally they are member of a different
group.

Switch these traps to use the correct group so that they are all subject
to the same policer, as exposed to user space.

Set the trap priority of packets trapped due to loopback error during
routing to the lowest priority. Such packets are not routed again by the
kernel and therefore should not mask other traps (e.g., host miss) that
should be routed.

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-03-30 17:54:59 -07:00
..
mlx4 mlx4: fix "initializer element not constant" compiler error 2020-03-29 22:09:39 -07:00
mlx5/core devlink: Implicitly set auto recover flag when registering health reporter 2020-03-30 11:17:34 -07:00
mlxfw net: mlxfw: Replace zero-length array with flexible-array member 2020-03-03 17:39:19 -08:00
mlxsw mlxsw: spectrum_trap: Switch to use correct packet trap group 2020-03-30 17:54:59 -07:00
Kconfig
Makefile