]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9054bf8d34bf83661382469cb55743714c77283d
tree15c2864777ed2ea576d7c689b18046b6861ac746
parentf1f48e844c055ed4c2bd702838e42f63a3358ae2
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