IB/mlx5: Don't advertise RAW QP support in dual port mode
authorDaniel Jurgens <danielj@mellanox.com>
Thu, 4 Jan 2018 15:25:43 +0000 (17:25 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 8 Jan 2018 18:42:24 +0000 (11:42 -0700)
commit85c7c01499a9ebbf049422668e05c58999b5ae45
tree15c2864777ed2ea576d7c689b18046b6861ac746
parent212f2a87b74f1efd645297893c7f3657abd55dcd
IB/mlx5: Don't advertise RAW QP support in dual port mode

When operating in dual port RoCE mode FW doesn't support steering for
raw QPs on the slave port. They still work on the master port, but
the user has no way of knowing which port is the master. The
capability is reported per device, not per port.

Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c