]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IB/mlx5: Always return success for RoCE modify port
authorMajd Dibbiny <majd@mellanox.com>
Wed, 23 Aug 2017 05:35:42 +0000 (08:35 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Aug 2017 19:33:33 +0000 (15:33 -0400)
commitec2558796d25e6024071b6bcb8e11392538d57bf
treef5df92c4e9da1167f078a164e1cf2d5751e1d2cd
parent1d31e9c09f41f9ffa53eaf8457b3e77a1d527f1e
IB/mlx5: Always return success for RoCE modify port

CM layer calls ib_modify_port() regardless of the link layer.

For the Ethernet ports, qkey violation and Port capabilities
are meaningless. Therefore, always return success for ib_modify_port
calls on the Ethernet ports.

Cc: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c