Skip to content

iSER cleanups and fixes for 5.18

Max Gurtovoy linux-rdma 2 versions – Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesApplied
  2. v14 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- remove redundant if check in patch 1/4 (from Leon)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4IB/iser: remove iser_reg_data_sg helper functiondrivers/infiniband/ulp/iser/iser_memory.c+9 -221 reply
2/4IB/iser: use iser_fr_desc as registration contextdrivers/infiniband/ulp/iser/iscsi_iser.h drivers/infiniband/ulp/iser/iser_initiator.c drivers/infiniband/ulp/iser/iser_memory.c +1 more+11 -111 reply
3/4IB/iser: generalize map/unmap dma tasksdrivers/infiniband/ulp/iser/iscsi_iser.h drivers/infiniband/ulp/iser/iser_initiator.c drivers/infiniband/ulp/iser/iser_memory.c+31 -451 reply
4/4IB/iser: fix error flow in case of registration failuredrivers/infiniband/ulp/iser/iser_initiator.c+11 -33 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchSergey GorenkoSagi Grimberg
1/4R-b A-b
2/4R-b A-b
3/4R-b A-b
4/4R-b A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] iSER cleanups and fixes for 5.18

Hi Jason/Sagi,
This series adds one small fix in error flow in case of registration failures and 3 patches for improving code readability that will ease on maintaining the ib_iser driver.

Please consider merging this series to kernel 5.18 merge window.

---

changes from v1:
- remove redundant if check in patch 1/4 (from Leon)

---

Max Gurtovoy (4):
IB/iser: remove iser_reg_data_sg helper function IB/iser: use iser_fr_desc as registration context IB/iser: generalize map/unmap dma tasks IB/iser: fix error flow in case of registration failure

 drivers/infiniband/ulp/iser/iscsi_iser.h     | 13 ++--
 drivers/infiniband/ulp/iser/iser_initiator.c | 58 +++++------------
 drivers/infiniband/ulp/iser/iser_memory.c    | 68 +++++++++++---------
 drivers/infiniband/ulp/iser/iser_verbs.c     |  2 +-
 4 files changed, 61 insertions(+), 80 deletions(-)
Signature · 1 line
2.18.1