]> asedeno.scripts.mit.edu Git - linux.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)
commit5fb58c9e2fb11edd12379b20be01ee54a7bac026
tree6951990ffe933d78a7326774a50bf42c4a6f209d
parentd3b5cc1cd996ce84d362b3c15f940346603741b9
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