]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
IB/mlx5: Disable self loopback check when in switchdev mode
authorMark Bloch <markb@mellanox.com>
Mon, 15 Jan 2018 13:11:37 +0000 (13:11 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 23 Feb 2018 20:36:39 +0000 (12:36 -0800)
commitec9c2fb8ceb5b514c4820f732537cb2982de0620
tree2a1800dea3de116f187703789d4c68c4f771f9ed
parentc5447c70594b6a8e1e62a9dd9373813cb38f1c69
IB/mlx5: Disable self loopback check when in switchdev mode

When in switchdev mode, there is no need to do self loopback checks
as we can't receive those packets, we insert steering rules to the
eswitch that make sure packets can't be looped back.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c