diff options
| author | Don Hiatt <[email protected]> | 2018-02-01 18:57:03 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-02-01 22:43:31 +0000 |
| commit | 87daac68f77a3e21a1113f816e6a7be0b38bdde8 (patch) | |
| tree | 3bee6322911da075f1c51a438958b2e4d2dfbf9b /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | IB/ipoib: Fix for potential no-carrier state (diff) | |
| download | kernel-87daac68f77a3e21a1113f816e6a7be0b38bdde8.tar.gz kernel-87daac68f77a3e21a1113f816e6a7be0b38bdde8.zip | |
IB/core: Map iWarp AH type to undefined in rdma_ah_find_type
iWarp devices do not support the creation of address handles
so return AH_ATTR_TYPE_UNDEFINED for all iWarp devices.
While we are here reduce the size of port_num to u8 and add
a comment.
Fixes: 44c58487d51a ("IB/core: Define 'ib' and 'roce' rdma_ah_attr types")
Reported-by: Parav Pandit <[email protected]>
CC: Sean Hefty <[email protected]>
Reviewed-by: Ira Weiny <[email protected]>
Reviewed-by: Shiraz Saleem <[email protected]>
Signed-off-by: Don Hiatt <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
