]> git.baikalelectronics.ru Git - kernel.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)
commitf74d6700c17ffcad41bab4b5f210bf8b7ab5d596
treef5df92c4e9da1167f078a164e1cf2d5751e1d2cd
parent300cb5192e911bd8adefc6046baa527e5060ff5f
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