Searched hist:c20b80187a93b4fcc1c5c46fc8a436df1f17636d (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | trap.h | diff c20b80187a93b4fcc1c5c46fc8a436df1f17636d Wed Aug 17 16:39:32 CEST 2016 Elad Raz <eladr@mellanox.com> mlxsw: spectrum: Add missing packet traps
Add the following traps:
1) MTU Error: Trap packets whose size is bigger than the egress RIF's MTU. If DF bit isn't set, traffic will continue to be routed in slow path.
2) TTL Error: Trap packets whose TTL expired. This allows traceroute to work properly.
3) OSPF packets.
Fixes: 7b27ce7bb9cd ("mlxsw: spectrum: Add traps needed for router implementation") Signed-off-by: Elad Raz <eladr@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | spectrum.c | diff c20b80187a93b4fcc1c5c46fc8a436df1f17636d Wed Aug 17 16:39:32 CEST 2016 Elad Raz <eladr@mellanox.com> mlxsw: spectrum: Add missing packet traps
Add the following traps:
1) MTU Error: Trap packets whose size is bigger than the egress RIF's MTU. If DF bit isn't set, traffic will continue to be routed in slow path.
2) TTL Error: Trap packets whose TTL expired. This allows traceroute to work properly.
3) OSPF packets.
Fixes: 7b27ce7bb9cd ("mlxsw: spectrum: Add traps needed for router implementation") Signed-off-by: Elad Raz <eladr@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|