aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2015-10-28 11:28:15 +0000
committerDoug Ledford <[email protected]>2015-12-08 17:42:44 +0000
commita5e14ba334e202c58e45ef47414ec94c585c1a8c (patch)
treeb04bac58103e9551d2107aa96295db010c5695a2 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentIB/mad: Require CM send method for everything except ClassPortInfo (diff)
downloadkernel-a5e14ba334e202c58e45ef47414ec94c585c1a8c.tar.gz
kernel-a5e14ba334e202c58e45ef47414ec94c585c1a8c.zip
mlx4: Expose correct max_sge_rd limit
mlx4 devices (ConnectX-2, ConnectX-3) 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. Signed-off-by: Sagi Grimberg <[email protected]> Reviewed-by: Steve Wise <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions