Skip to content

Enable iSCSI offload drivers to use information from iface.

Robert LeBlanc linux-rdma linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7scsi/scsi_transport_iscsi: Add iface struct to kernel.include/scsi/scsi_transport_iscsi.h+95 -00 replies
2/7scsi/scsi_transport_iscsi: Update ep_connect to include iface.drivers/scsi/scsi_transport_iscsi.c include/scsi/scsi_transport_iscsi.h+9 -50 replies
3/7ib/iSER: Add binding to source IP address.drivers/infiniband/ulp/iser/iscsi_iser.c drivers/infiniband/ulp/iser/iscsi_iser.h drivers/infiniband/ulp/iser/iser_initiator.c +2 more+38 -90 replies
4/7scsi/be2iscsi: Update beiscsi_ep_connect to accept iface and sockaddr_storage.drivers/scsi/be2iscsi/be_cmds.c drivers/scsi/be2iscsi/be_iscsi.c drivers/scsi/be2iscsi/be_iscsi.h +2 more+11 -50 replies
5/7scsi/bnx2i: Update bnx2i_ep_connect to accept iface and sockaddr_storage.drivers/scsi/bnx2i/bnx2i_hwi.c drivers/scsi/bnx2i/bnx2i_iscsi.c+9 -50 replies
6/7scsi/cxgbi: Update cxgbi_ep_connect to accept iface and sockaddr_storage.drivers/scsi/cxgbi/libcxgbi.c drivers/scsi/cxgbi/libcxgbi.h+9 -80 replies
7/7scsi/qla4xxx: Update qla4xxx_ep_connect to accept iface and sockaddr_storage.drivers/scsi/qla4xxx/ql4_os.c+8 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Enable iSCSI offload drivers to use information from iface.

This patchset enables iSCSI offload drivers to have access to the iface information provided by iscsid. This allows users to have more control of how the driver connects to the iSCSI target. iSER is updated to use iface.ipaddress to set the source IP address if configured. This allows iSER to use multiple ports on the same network or in more complicated routed configurations.

Since there is already a change to the function parameters, dst_addr is upgraded to sockaddr_storage so that it is more future proof and makes the size of the struct static and not dependent on checking the SA_FAMILY.

This is dependent on updates to Open-iSCSI.

Robert LeBlanc (7):
scsi/scsi_transport_iscsi: Add iface struct to kernel. scsi/scsi_transport_iscsi: Update ep_connect to include iface. ib/iSER: Add binding to source IP address. scsi/be2iscsi: Update beiscsi_ep_connect to accept iface and
sockaddr_storage.
scsi/bnx2i: Update bnx2i_ep_connect to accept iface and
sockaddr_storage.
scsi/cxgbi: Update cxgbi_ep_connect to accept iface and
sockaddr_storage.
scsi/qla4xxx: Update qla4xxx_ep_connect to accept iface and
sockaddr_storage.

 drivers/infiniband/ulp/iser/iscsi_iser.c     |  33 +++++++--
 drivers/infiniband/ulp/iser/iscsi_iser.h     |   4 +-
 drivers/infiniband/ulp/iser/iser_initiator.c |   1 +
 drivers/infiniband/ulp/iser/iser_memory.c    |   1 +
 drivers/infiniband/ulp/iser/iser_verbs.c     |   8 ++-
 drivers/scsi/be2iscsi/be_cmds.c              |   1 +
 drivers/scsi/be2iscsi/be_iscsi.c             |   8 ++-
 drivers/scsi/be2iscsi/be_iscsi.h             |   5 +-
 drivers/scsi/be2iscsi/be_main.c              |   1 +
 drivers/scsi/be2iscsi/be_mgmt.c              |   1 +
 drivers/scsi/bnx2i/bnx2i_hwi.c               |   1 +
 drivers/scsi/bnx2i/bnx2i_iscsi.c             |  13 ++--
 drivers/scsi/cxgbi/libcxgbi.c                |  15 ++--
 drivers/scsi/cxgbi/libcxgbi.h                |   2 +-
 drivers/scsi/qla4xxx/ql4_os.c                |  15 ++--
 drivers/scsi/scsi_transport_iscsi.c          |   9 ++-
 include/scsi/scsi_transport_iscsi.h          | 100 ++++++++++++++++++++++++++-
 17 files changed, 179 insertions(+), 39 deletions(-)
Signature · 8 lines
2.11.0

-- 
You received this message because you are subscribed to the Google Groups "open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To post to this group, send email to open-iscsi-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.