aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2016-03-31 16:03:25 +0000
committerDoug Ledford <[email protected]>2016-04-28 14:49:17 +0000
commit986ef95ecdd3eb6fa29433e68faa94c7624083be (patch)
tree1b0d6700daf564a1507f8c3226678cf7044d488a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentRDMA/iw_cxgb4: Fix bar2 virt addr calculation for T4 chips (diff)
downloadkernel-986ef95ecdd3eb6fa29433e68faa94c7624083be.tar.gz
kernel-986ef95ecdd3eb6fa29433e68faa94c7624083be.zip
IB/mlx5: Expose correct max_sge_rd limit
mlx5 devices (Connect-IB, ConnectX-4, ConnectX-4-LX) has a limitation where rdma read work queue entries cannot exceed 512 bytes. A rdma_read wqe needs to fit in 512 bytes: - wqe control segment (16 bytes) - rdma segment (16 bytes) - scatter elements (16 bytes each) So max_sge_rd should be: (512 - 16 - 16) / 16 = 30. Cc: [email protected] Reported-by: Christoph Hellwig <[email protected]> Tested-by: Christoph Hellwig <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions