Re: [PATCH v2 0/2] Handle mlx4 max_sge_rd correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 28/10/2015 13:28, Sagi Grimberg wrote:
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 v1:
- Fixed driver rdma segment size to be 16 bytes

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(-)


Doug,

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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux