From: Jack Morgenstein Date: Thu, 11 Sep 2014 11:11:19 +0000 (+0300) Subject: IB/mlx4: Do not allow APM under RoCE X-Git-Tag: fixes-for-v3.18-merge-window~78^2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3dec48788817fce4a029cbab14f2b407ae78478f;p=pandora-kernel.git 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 Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed