Skip to content

iSER support for iWARP

Steve Wise linux-nfs linux-rdma 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest9 patches 35 repliesIn review
  2. v55 patches 17 repliesSuperseded
  3. v42 of 5 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v32 of 4 patches4 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9RDMA/iser: Limit sg tablesize and max_sectors to device fastreg max depthdrivers/infiniband/ulp/iser/iscsi_iser.c+9 -05 replies
2/9mlx4, mlx5, mthca: Expose max_sge_rd correctlydrivers/infiniband/hw/mlx4/main.c drivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mthca/mthca_provider.c+3 -00 replies
3/9ipath,qib: Expose max_sge_rd correctlydrivers/infiniband/hw/ipath/ipath_verbs.c drivers/infiniband/hw/qib/qib_verbs.c+2 -00 replies
4/9svcrdma: Use max_sge_rd for destination read depthsinclude/linux/sunrpc/svc_rdma.h net/sunrpc/xprtrdma/svc_rdma_recvfrom.c net/sunrpc/xprtrdma/svc_rdma_transport.c+6 -113 replies
5/9RDMA/isert: Limit read depth based on the device max_sge_rd capabilitydrivers/infiniband/ulp/isert/ib_isert.c drivers/infiniband/ulp/isert/ib_isert.h+18 -90 replies
6/9isert: Rename IO functions to more descriptive namesdrivers/infiniband/ulp/isert/ib_isert.c+14 -1417 replies
7/9isert: Use the device's max fastreg page list depthdrivers/infiniband/ulp/isert/ib_isert.c drivers/infiniband/ulp/isert/ib_isert.h+25 -40 replies
8/9isert: Use local_dma_lkey whenever possible.drivers/infiniband/ulp/isert/ib_isert.c drivers/infiniband/ulp/isert/ib_isert.h+28 -202 replies
9/9isert: Support iWARP transports using FRMRsdrivers/infiniband/ulp/isert/ib_isert.c+218 -68 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchMike Marciniszyn
1/9
2/9
3/9A-b
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH V6 0/9] iSER support for iWARP

The following series implements support for iWARP transports in the iSER initiator and target. This is based on v4.2-rc3.

I know we're in the middle of some API changes that will affect the isert patches in this series, but I wanted to get these out for another round of review. I can merge the isert changes on top of the new API once it solidifies and we have a staging tree for them. My goal is to get this series in for 4.3, so if the API changes don't gel fairly soon, I ask that we consider pulling this series in first. But I'm definitly willing to help get this -and- the API stuff in for 4.3.

Changes since V5:

The big change in V6 is to introduce new register/unregister functions in isert to use FRMRs + local dma lkey for devices that support this yet do not support DIF/PI. So iWARP devices do not require a DMA-MR.

svcrdma patch added to use max_sge_rd.

reordered the series some:
patch 1 is the small iser changes to support iwarp patches 2..5 fix drivers to set max_sge_rd and ULPs to use them patches 6-9 enhance isert to support iwarp

Changes since V4:

iser: fixedcompiler warning

isert: back to setting REMOTE_WRITE only for iWARP devices

Changes since V3:

Fixed commit messages based on feedback.

iser: adjust max_sectors

isert: split into 2 patches

isert: always set REMOTE_WRITE for dma mrs

Changes since V2:

The transport independent work is removed from this series and will be submitted in a subsequent series. This V3 series now enables iWARP using existing core services.

Changes since V1:

Introduce and use transport-independent RDMA core services for allocating DMA MRs and computing fast register access flags.

Correctly set the device max_sge_rd capability in several rdma device drivers.

isert: use device capability max_sge_rd for the read sge depth.

isert: change max_sge to max_write_sge in struct isert_conn.

---

Sagi Grimberg (1):
mlx4, mlx5, mthca: Expose max_sge_rd correctly

Steve Wise (8):
isert: Support iWARP transports using FRMRs
isert: Use local_dma_lkey whenever possible.
isert: Use the device's max fastreg page list depth
isert: Rename IO functions to more descriptive names RDMA/isert: Limit read depth based on the device max_sge_rd capability
svcrdma: Use max_sge_rd for destination read depths ipath,qib: Expose max_sge_rd correctly
RDMA/iser: Limit sg tablesize and max_sectors to device fastreg max depth

 drivers/infiniband/hw/ipath/ipath_verbs.c    |    1 
 drivers/infiniband/hw/mlx4/main.c            |    1 
 drivers/infiniband/hw/mlx5/main.c            |    1 
 drivers/infiniband/hw/mthca/mthca_provider.c |    1 
 drivers/infiniband/hw/qib/qib_verbs.c        |    1 
 drivers/infiniband/ulp/iser/iscsi_iser.c     |    9 +
 drivers/infiniband/ulp/isert/ib_isert.c      |  345 ++++++++++++++++++++++----
 drivers/infiniband/ulp/isert/ib_isert.h      |    5 
 include/linux/sunrpc/svc_rdma.h              |    1 
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c      |   12 -
 net/sunrpc/xprtrdma/svc_rdma_transport.c     |    4 
 11 files changed, 320 insertions(+), 61 deletions(-)
Signature · 5 lines
Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html