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

2017-07-24 Thread Robert LeBlanc
On Wed, Jun 14, 2017 at 10:47 AM, Robert LeBlanc wrote: > On Wed, Jun 14, 2017 at 3:20 AM, Rangankar, Manish > wrote: >> >> On 13/06/17 10:19 PM, "Robert LeBlanc" wrote: >> >>>On Wed, Jun 7, 2017 at 12:30 PM, Robert LeBlanc >>>wrote: >

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

2017-06-14 Thread Robert LeBlanc
On Wed, Jun 14, 2017 at 3:20 AM, Rangankar, Manish wrote: > > On 13/06/17 10:19 PM, "Robert LeBlanc" wrote: > >>On Wed, Jun 7, 2017 at 12:30 PM, Robert LeBlanc >>wrote: >>> On Wed, Jun 7, 2017 at 10:28 AM, Chris Leech wrote: >>>> On Tue, Ju

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

2017-06-13 Thread Robert LeBlanc
On Wed, Jun 7, 2017 at 12:30 PM, Robert LeBlanc wrote: > On Wed, Jun 7, 2017 at 10:28 AM, Chris Leech wrote: >> On Tue, Jun 06, 2017 at 12:07:10PM -0600, Robert LeBlanc wrote: >>> This patchset enables iSCSI offload drivers to have access to the iface >>> informati

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

2017-06-07 Thread Robert LeBlanc
On Wed, Jun 7, 2017 at 10:28 AM, Chris Leech wrote: > On Tue, Jun 06, 2017 at 12:07:10PM -0600, Robert LeBlanc wrote: >> This patchset enables iSCSI offload drivers to have access to the iface >> information provided by iscsid. This allows users to have more control >> of ho

[PATCH] Pass iface for connection

2017-06-06 Thread Robert LeBlanc
--- usr/netlink.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/usr/netlink.c b/usr/netlink.c index 1a0bf80..c474375 100644 --- a/usr/netlink.c +++ b/usr/netlink.c @@ -848,10 +848,13 @@ krecv_pdu_end(struct iscsi_conn *conn) int ktransport_ep_connect(iscs

[PATCH 4/7] scsi/be2iscsi: Update beiscsi_ep_connect to accept iface and sockaddr_storage.

2017-06-06 Thread Robert LeBlanc
Update Emulex BladeEngine driver to accept the session iface for creating the iSCSI connection. Also accept dst_addr as sockaddr_storage instead of sockaddr. Signed-off-by: Robert LeBlanc --- drivers/scsi/be2iscsi/be_cmds.c | 1 + drivers/scsi/be2iscsi/be_iscsi.c | 8 +--- drivers/scsi

[PATCH 2/7] scsi/scsi_transport_iscsi: Update ep_connect to include iface.

2017-06-06 Thread Robert LeBlanc
Update the ep_connect function to include the iface in the parameters passed to the driver. Since we have to make a change, also change the dst_addr to sockaddr_storage so that it is future proof and a static size. Signed-off-by: Robert LeBlanc --- drivers/scsi/scsi_transport_iscsi.c | 9

[PATCH 3/7] ib/iSER: Add binding to source IP address.

2017-06-06 Thread Robert LeBlanc
If the iface passed in has ip address set, then attept to create an RDMA connection using it as the source IP address. This allows iSER to use multiple ports on the same network or in more complex routing configurations. Also update to accepting sockaddr_storage. Signed-off-by: Robert LeBlanc

[PATCH 5/7] scsi/bnx2i: Update bnx2i_ep_connect to accept iface and sockaddr_storage.

2017-06-06 Thread Robert LeBlanc
Update QLogic NetXtreme II driver to accept the session iface for creating the iSCSI connection. Also accept dst_addr as sockaddr_storage instead of sockaddr. Signed-off-by: Robert LeBlanc --- drivers/scsi/bnx2i/bnx2i_hwi.c | 1 + drivers/scsi/bnx2i/bnx2i_iscsi.c | 13 - 2 files

[PATCH 7/7] scsi/qla4xxx: Update qla4xxx_ep_connect to accept iface and sockaddr_storage.

2017-06-06 Thread Robert LeBlanc
Update QLogic ISP4XXX and ISP82XX drivers to accept the session iface for creating the iSCSI connection. Also accept dst_addr as sockaddr_storage instead of sockaddr. Signed-off-by: Robert LeBlanc --- drivers/scsi/qla4xxx/ql4_os.c | 15 --- 1 file changed, 8 insertions(+), 7

[PATCH 6/7] scsi/cxgbi: Update cxgbi_ep_connect to accept iface and sockaddr_storage.

2017-06-06 Thread Robert LeBlanc
Update Chelsio iSCSI driver to accept the session iface for creating the iSCSI connection. Also accept dst_addr as sockaddr_storage instead of sockaddr. Signed-off-by: Robert LeBlanc --- drivers/scsi/cxgbi/libcxgbi.c | 15 --- drivers/scsi/cxgbi/libcxgbi.h | 2 +- 2 files changed

[PATCH 1/7] scsi/scsi_transport_iscsi: Add iface struct to kernel.

2017-06-06 Thread Robert LeBlanc
Allow the userspace iscsiadm to pass the iface struct of the connection so that the underlying driver can use what is most appropriate to create the iSCSI connection. Signed-off-by: Robert LeBlanc --- include/scsi/scsi_transport_iscsi.h | 95 + 1 file changed

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

2017-06-06 Thread Robert LeBlanc
. 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

Re: [RFC] Add source address binding to iSER

2017-06-02 Thread Robert LeBlanc
The error that I was getting was due to the distro version of iscsid running. Once I stopped that and ran iscsid from the patched source, it logged in just fine. Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Fri, Jun 2, 2017 at 2:29 PM

Re: [RFC] Add source address binding to iSER

2017-06-02 Thread Robert LeBlanc
Attaching patches in case they are mangled. Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Fri, Jun 2, 2017 at 1:13 PM, Robert LeBlanc wrote: > First off, I've never done anything this complicated, please be gentle. > > Secon

[RFC] Add source address binding to iSER

2017-06-02 Thread Robert LeBlanc
hwaddress[ISCSI_HWADDRESS_BUF_SIZE]; +char transport_name[ISCSI_TRANSPORT_NAME_MAXLEN]; +/* + * This is only used for boot now, but the iser guys + * can use this for their virtualization idea. + */ +charalias[TARGET_NAM

Revisit: [iscsi ifaces / multipathing / etc] thread from 2010

2017-05-25 Thread Robert LeBlanc
(struct iser_conn *iser_conn, sprintf(iser_conn->name, "%pISp", dst_addr); iser_info("connecting to: %s\n", iser_conn->name); + iser_err("connecting from: %p\n", src_addr); /* the device is known only --after-- address resolution */