This addresses a specific mlx4 issue where the max_sge_rd
is actually smaller than max_sge (rdma reads with max_sge
entries completes with error).

The second patch removes the explicit work-around from the
iser target code.

Changes from v0:
- Used a dedicated enumeration MLX4_MAX_SGE_RD and added
  a root cause analysis to patch change log.

- Fixed isert qp creation to be max_sge but construct rdma
  work request with the minimum of max_sge and max_sge_rd
  as non-rdma sends (login rsp) take 2 sges (and some devices
  have max_sge_rd = 1.

Sagi Grimberg (2):
  mlx4: Expose correct max_sge_rd limit
  iser-target: Remove explicit mlx4 work-around

 drivers/infiniband/hw/mlx4/main.c       |    2 +-
 drivers/infiniband/ulp/isert/ib_isert.c |   13 +++----------
 include/linux/mlx4/device.h             |   11 +++++++++++
 3 files changed, 15 insertions(+), 11 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to