]> 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)
commit0f59bf9d13e9f51419345986eedc7e5900f1e4c4
tree15c2864777ed2ea576d7c689b18046b6861ac746
parent203191f4ab55b3ce05f2423a058273cf3d3b3f42
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