]> Git Repo - linux.git/commit
IB/mlx4: Do not allow APM under RoCE
authorJack Morgenstein <[email protected]>
Thu, 11 Sep 2014 11:11:19 +0000 (14:11 +0300)
committerRoland Dreier <[email protected]>
Mon, 22 Sep 2014 16:46:53 +0000 (09:46 -0700)
commit3dec48788817fce4a029cbab14f2b407ae78478f
tree9aa4bfeef116f997df68437d08abaa041aac85bd
parentd24d9f43384b5933867a5786934e130efa8b5c92
IB/mlx4: Do not allow APM under RoCE

Automatic Path Migration is not supported under RoCE. Therefore,
return a "not-supported" error if the caller attempts to set an
alternate path in a QP context.

In addition, if there are no IB ports configured, do not report
APM capability in the device flags returned by mlx4_ib_query_device.

Signed-off-by: Jack Morgenstein <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/qp.c
This page took 0.056046 seconds and 4 git commands to generate.