aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/isert
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2015-10-28 13:28:15 +0200
committerDoug Ledford <dledford@redhat.com>2015-12-08 12:42:44 -0500
commita5e14ba334e202c58e45ef47414ec94c585c1a8c (patch)
treeb04bac58103e9551d2107aa96295db010c5695a2 /drivers/infiniband/ulp/isert
parentIB/mad: Require CM send method for everything except ClassPortInfo (diff)
downloadlinux-dev-a5e14ba334e202c58e45ef47414ec94c585c1a8c.tar.xz
linux-dev-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 <sagig@mellanox.com> Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/isert')
0 files changed, 0 insertions, 0 deletions