]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Don't create IB representors when in multiport RoCE mode
authorMark Bloch <markb@mellanox.com>
Thu, 28 Mar 2019 13:46:27 +0000 (15:46 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 22 Apr 2019 18:24:05 +0000 (15:24 -0300)
commit140341c676a96045b7cd81547b10046ce27b7a96
tree6951990ffe933d78a7326774a50bf42c4a6f209d
parent558adfc45af1cf5e30f09a7f16aa9a964f4da54c
RDMA/mlx5: Don't create IB representors when in multiport RoCE mode

Switchdev mode and mutiport RoCE mode aren't compatible at this point.
Don't create IB reps when a user switches to switchdev mode and the driver
operates in that mode.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c