mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
Merge branch 'mlxsw-Add-tunnel-devlink-trap-support'
Ido Schimmel says: ==================== mlxsw: Add tunnel devlink-trap support This patch set from Amit adds support in mlxsw for tunnel traps and a few additional layer 3 traps that can report drops and exceptions via devlink-trap. These traps allow the user to more quickly diagnose problems relating to tunnel decapsulation errors, such as packet being too short to decapsulate or a packet containing wrong GRE key in its GRE header. Patch set overview: Patches #1-#4 add three additional layer 3 traps. Two of which are mlxsw-specific as they relate to hardware-specific errors. The patches include documentation of each trap and selftests. Patches #5-#8 are preparations. They ensure that the correct ECN bits are set in the outer header during IPinIP encapsulation and that packets with an invalid ECN combination in underlay and overlay are trapped to the kernel and not decapsulated in hardware. Patches #9-#15 add support for two tunnel related traps. Each trap is documented and selftested using both VXLAN and IPinIP tunnels, if applicable. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
4ee9e6e027
14 changed files with 981 additions and 4 deletions
265
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_tunnel_ipip.sh
Executable file
265
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_tunnel_ipip.sh
Executable file
330
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_tunnel_vxlan.sh
Executable file
330
tools/testing/selftests/drivers/net/mlxsw/devlink_trap_tunnel_vxlan.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue