summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-01-12 07:58:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-26 11:02:04 +0200
commitb7b27e19e374e12b8bb3d12627242e6c5d69d706 (patch)
tree31ae6e08fff622b6038c8ba4fcd19d83b3258a86 /Documentation
parent8e40eae185f85426d9d6d667f2e55aa721b84e0d (diff)
RDMA/core: Clarify rdma_ah_find_type
[ Upstream commit a6532e7139660c103dda181aa5b2c734aa26ed6c ] iWARP does not use rdma_ah_attr_type, and for this reason we do not have a RDMA_AH_ATTR_TYPE_IWARP. rdma_ah_find_type should not even be called on iwarp ports and for clarity it shouldn't have a special test for iWarp. This changes the result from RDMA_AH_ATTR_TYPE_ROCE to RDMA_AH_ATTR_TYPE_IB when wrongly called on an iWarp port. Fixes: 44c58487d51a ("IB/core: Define 'ib' and 'roce' rdma_ah_attr types") Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions