]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Disable SIP_DIP check in hardware pipeline
authorAmit Cohen <amitc@mellanox.com>
Sun, 5 Jan 2020 16:20:54 +0000 (18:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 21:38:36 +0000 (13:38 -0800)
commit0fbf29a208a6ec40d47b253b21417834f71c17c9
tree2a468d651855fb17979cc7e3a7a40664bf031a4c
parent7afd9b17b67d8b5f926facab5405cca2610b6488
mlxsw: spectrum: Disable SIP_DIP check in hardware pipeline

The check drops packets if they need to be routed and their source IP
equals to their destination IP.

Disable the check since the kernel forwards such packets and does not
drop them.

Signed-off-by: Amit Cohen <amitc@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@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