Re: Function to discover targets

2011-09-05 Thread Rakesh Ranjan
Hi Vivek, LLD fills up the iscsi_transport structure, IIRC tgt_dscvr is currently used by Qlogic LLD only (This is to support card's on-chip offload capability to discover targets). I would suggest you to see some how existing LLD's register with iscsi_scsi_transport. Regards Rakesh

[PATCH 2/3] cxgb4i_v4.3 : libcxgbi common library part

2010-06-07 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/cxgbi/libcxgbi.c | 1518 + drivers/scsi/cxgbi/libcxgbi.h | 556 +++ 2 files changed, 2074 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/cxgbi/libcxgbi.c

[PATCH 1/3] cxgb4i_v4.3 : add build support

2010-06-07 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/Kconfig |1 + drivers/scsi/Makefile |1 + drivers/scsi/cxgbi/Kbuild |5 + drivers/scsi/cxgbi/Kconfig |7 +++ 4 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi

cxgb4i_v4.3 submission

2010-06-07 Thread Rakesh Ranjan
which got added for debugging. [PATCH 1/3] cxgb4i_v4.3 : add build support [PATCH 2/3] cxgb4i_v4.3 : libcxgbi common library part [PATCH 3/3] cxgb4i_v4.3 : main driver files Regards Rakesh Ranjan -- You received this message because you are subscribed to the Google Groups "open-iscsi" gr

[PATCH 2/3] cxgb4i_v4.2 : libcxgbi common library part

2010-06-07 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/cxgbi/libcxgbi.c | 1521 + drivers/scsi/cxgbi/libcxgbi.h | 556 +++ 2 files changed, 2077 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi/cxgbi/libcxgbi.c

[PATCH 1/3] cxgb4i_v4.2 : add build support

2010-06-07 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/Kconfig |1 + drivers/scsi/Makefile |1 + drivers/scsi/cxgbi/Kbuild |5 + drivers/scsi/cxgbi/Kconfig |7 +++ 4 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi

cxgb4i_v4.2 submission

2010-06-07 Thread Rakesh Ranjan
Fixed some issues in cleanup path. [PATCH 1/3] cxgb4i_v4.2 : add build support [PATCH 2/3] cxgb4i_v4.2 : libcxgbi common library part [PATCH 3/3] cxgb4i_v4.2 : main driver files Regards Rakesh Ranjan -- You received this message because you are subscribed to the Google Groups "open-iscsi&

[PATCH 1/3] cxgb4i_v4: add build support

2010-06-04 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/Kconfig |1 + drivers/scsi/Makefile |1 + drivers/scsi/cxgbi/Kbuild |5 + drivers/scsi/cxgbi/Kconfig |7 +++ 4 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 drivers/scsi

[RESEND]cxgb4i_v4 submission

2010-06-04 Thread Rakesh Ranjan
since cxgb4i_v3.1 1. Fixed issues reported by mike. 2. Made libcxgbi more generic. [PATCH 1/3] cxgb4i_v4: add build support [PATCH 2/3] cxgb4i_v4: libcxgbi library for handling common part in cxgb4i/cxgb3i [PATCH 3/3] cxgb4i_v4: main driver files Regards Rakesh Ranjan -- You received this message becaus

cxgb4i_v4 submission

2010-06-04 Thread Rakesh Ranjan
cxgbi more generic. [PATCH 1/3] cxgb4i_v4: add build support [PATCH 2/3] cxgb4i_v4: libcxgbi library for handling common part in cxgb4i/cxgb3i [PATCH 3/3] cxgb4i_v4: main driver files Regards Rakesh Ranjan -- You received this message because you are subscribed to the Google Groups "open-is

Re: [PATCH 3/3] cxgb4i_v3: iscsi and libcxgbi library for handling common part

2010-05-26 Thread Rakesh Ranjan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 05/27/2010 11:29 AM, Mike Christie wrote: > On 05/15/2010 12:24 PM, Rakesh Ranjan wrote: >> From: Rakesh Ranjan >> >> >> Signed-off-by: Rakesh Ranjan >> --- >> dr

Re: cxgb4i_v3.1 submission

2010-05-25 Thread Rakesh Ranjan
On 05/26/2010 01:53 AM, Mike Christie wrote: Sorry for the delay. I am almost done. Should have some comments later tonight. Did you have a patch to modify cxgb3i? Hi Mike, We are doing cxgb3i patch and will submit by this weekend. Regards Rakesh Ranjan On 05/15/2010 12:24 PM, Rakesh

[PATCH 3/3] cxgb4i_v3: iscsi and libcxgbi library for handling common part

2010-05-15 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/cxgb4i/cxgb4i_iscsi.c | 617 drivers/scsi/cxgb4i/libcxgbi.c | 589 ++ drivers/scsi/cxgb4i/libcxgbi.h | 430 + 3 files

[PATCH 1/3] cxgb4i_v3: add build support

2010-05-15 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/Kconfig|1 + drivers/scsi/Makefile |1 + drivers/scsi/cxgb4i/Kbuild |4 drivers/scsi/cxgb4i/Kconfig |7 +++ 4 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 drivers

cxgb4i_v3.1 submission

2010-05-15 Thread Rakesh Ranjan
y for handling common part Regards Rakesh Ranjan -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-is...@googlegroups.com. To unsubscribe from this group, send email to open-iscsi+unsubscr...@google

[PATCH 3/3] cxgb4i_v3: iscsi and libcxgbi library for handling common part

2010-05-15 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/cxgb4i/cxgb4i_iscsi.c | 617 drivers/scsi/cxgb4i/libcxgbi.c | 589 ++ drivers/scsi/cxgb4i/libcxgbi.h | 430 + 3 files

[PATCH 1/3] cxgb4i_v3: add build support

2010-05-15 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/Kconfig|1 + drivers/scsi/Makefile |1 + drivers/scsi/cxgb4i/Kbuild |4 drivers/scsi/cxgb4i/Kconfig |7 +++ 4 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 drivers

cxgb4i_v3 submission

2010-05-15 Thread Rakesh Ranjan
library for handling common part Regards Rakesh Ranjan -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-is...@googlegroups.com. To unsubscribe from this group, send email to open-iscs

[PATCH 3/3] cxgb4i: iscsi and common pdu processing library

2010-05-04 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/cxgb4i/cxgb4i_iscsi.c | 715 drivers/scsi/cxgb4i/libcxgbi.c | 464 +++ drivers/scsi/cxgb4i/libcxgbi.h | 61 +++ 3 files changed, 1240 insertions(+), 0

[PATCH 1/3] cxgb4i: add build support

2010-05-04 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/Kconfig|1 + drivers/scsi/Makefile |1 + drivers/scsi/cxgb4i/Kbuild |4 drivers/scsi/cxgb4i/Kconfig |7 +++ 4 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 drivers

cxgb4i submission - V2

2010-05-04 Thread Rakesh Ranjan
The following 3 patches add a new iscsi LLD driver cxgb4i to enable iscsi offload support on Chelsio's new 1G and 10G cards. This is updated version of previous cxgb4i patch. Please share you commnets after review. -- You received this message because you are subscribed to the Google Groups "o

Re: cxgb4i submission

2010-04-08 Thread Rakesh Ranjan
On 04/08/2010 05:48 PM, David Miller wrote: > From: Rakesh Ranjan > Date: Thu, 8 Apr 2010 17:44:12 +0530 > >> This driver depends upon cxgb4 driver, posted recently on netdev and >> now part of net-next repo. > > It went into the net-2.6 repo, not net-next-2.6 >

cxgb4i submission

2010-04-08 Thread Rakesh Ranjan
The following 3 patche add a new iscsi LLD driver cxgb4i to enable iscsi offload support on Chelsio's new 1G and 10G cards. This driver depends upon cxgb4 driver, posted recently on netdev and now part of net-next repo. Please share you commnets after review. I will be sending updated patches aft

[PATCH 3/3] cxgb4i: iscsi and pdu processing part

2010-04-08 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/cxgb4i/cxgb4i_iscsi.c | 715 drivers/scsi/cxgb4i/cxgb4i_pdu.c | 475 drivers/scsi/cxgb4i/cxgb4i_pdu.h | 61 +++ 3 files changed, 1251 insertions(+), 0

[PATCH 1/3] cxgb4i: add build support

2010-04-08 Thread Rakesh Ranjan
From: Rakesh Ranjan Signed-off-by: Rakesh Ranjan --- drivers/scsi/Kconfig|1 + drivers/scsi/Makefile |1 + drivers/scsi/cxgb4i/Kbuild |4 drivers/scsi/cxgb4i/Kconfig |7 +++ 4 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 drivers

Re: 2.6.14-23_compat.patch & CentOS 5.4

2010-01-31 Thread Rakesh Ranjan
ut a check for CentOS versions. Regards Rakesh Ranjan Thanks, Erez -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-is...@googlegroups.com. To unsubscribe from this group, send email to ope

[RESEND PATCH 1/1]cxgb3i: Fix a login over vlan issue

2009-12-26 Thread Rakesh Ranjan
From: Rakesh Ranjan Date: Sun, 27 Dec 2009 12:33:08 +0530 Fix a target login issue, when parent interface is vlan and we are using cxgb3i sepecific private ip address in '/etc/iscsi/ifaces/' iface file. Acked-by: Karen Xie Signed-off-by: Rakesh Ranjan --- drivers/scsi/cxgb3i/cxgb3i

[RESEND PATCH 1/1]cxgb3i: Fix a login over vlan issue

2009-12-14 Thread Rakesh Ranjan
From: Rakesh Ranjan Fix a target login issue, when parent interface is vlan and we are using cxgb3i sepecific private ip address in '/etc/iscsi/ifaces/' iface file. Acked-by: Karen Xie Signed-off-by: Rakesh Ranjan --- drivers/scsi/cxgb3i/cxgb3i_offloa

Re: [PATCH 1/1] cxgb3i: Fix a login over vlan issue

2009-12-10 Thread Rakesh Ranjan
n (&rt->u.dst)->dev; >> + >> + return NULL; >> +} > > This probably shouldn't be using init_net but the current namespace. Hi Patrick, Thanks for review, will fix that and send another path shortly. Regards Rakesh Ranjan signature.asc Description: OpenPGP digital signature

[PATCH 1/1] cxgb3i: Fix a login over vlan issue

2009-12-04 Thread Rakesh Ranjan
Fix a login over vlan issue, when parent interface is vlan and we are using cxgb3i sepecific private ip address in '/etc/iscsi/ifaces/' iface file. Acked-by: Karen Xie Signed-off-by: Rakesh Ranjan --- drivers/scsi/cxgb3i/cxgb3i_offload.c | 34 +

Re: [RFC-PATCH] libiscsi dhcp handler

2009-11-17 Thread Rakesh Ranjan
Rakesh Ranjan wrote: > David Miller wrote: >> From: Rakesh Ranjan >> Date: Mon, 16 Nov 2009 18:41:49 +0530 >> >>> Herein attached patches to support dhcp based provisioning for iSCSI >>> offload capable cards. I have made dhcp code as generic as possible, &

Re: [RFC-PATCH] libiscsi dhcp handler

2009-11-16 Thread Rakesh Ranjan
David Miller wrote: > From: Rakesh Ranjan > Date: Mon, 16 Nov 2009 18:41:49 +0530 > >> Herein attached patches to support dhcp based provisioning for iSCSI >> offload capable cards. I have made dhcp code as generic as possible, >> please go through the code. Based on

Re: [RFC-PATCH] libiscsi dhcp handler

2009-11-16 Thread Rakesh Ranjan
David Miller wrote: > From: Rakesh Ranjan > Date: Mon, 16 Nov 2009 18:41:49 +0530 > >> Herein attached patches to support dhcp based provisioning for iSCSI >> offload capable cards. I have made dhcp code as generic as possible, >> please go through the code. Based on

[RFC-PATCH] libiscsi dhcp handler

2009-11-16 Thread Rakesh Ranjan
Hi mike, Herein attached patches to support dhcp based provisioning for iSCSI offload capable cards. I have made dhcp code as generic as possible, please go through the code. Based on the feedback I will submit final version of these patches. Regards Rakesh Ranjan

Re: [PATCH] libiscsi back port for RHEL5.{0,1,2,3}/SLES10

2009-11-10 Thread Rakesh Ranjan
Mike Christie wrote: > Rakesh Ranjan wrote: >> Hi Mike, >> >> Herein attached updated patch based against current open-iscsi head. You >> can simply rename it to 2.6.14-23_compat.patch. >> > > the patch does not work with upstream 2.6.21 and 2.6.23. >

Re: [RFC-PATCH] dhcp provisioning support in cxgb3i

2009-11-04 Thread Rakesh Ranjan
Mike Christie wrote: > Rakesh Ranjan wrote: >> Mike Christie wrote: >>> Rakesh Ranjan wrote: >>>> Hi Mike, >>>> >>>> Herein attached patches for having dhcp provisioning support in >>>> cxgb3i. I have added one new iscsi netlink

Re: [RFC]: libiscsi patch to support cxgb3i on older RHEL-5/SLES-10

2009-11-04 Thread Rakesh Ranjan
Mike Christie wrote: > Rakesh Ranjan wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Mike Christie wrote: >>> Rakesh Ranjan wrote: >>>> Mike Christie wrote: >>>>> Rakesh Ranjan wrote: >>>>>> Rakesh

Re: [RFC]: libiscsi patch to support cxgb3i on older RHEL-5/SLES-10

2009-11-03 Thread Rakesh Ranjan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Christie wrote: > Rakesh Ranjan wrote: >> Mike Christie wrote: >>> Rakesh Ranjan wrote: >>>> Rakesh Ranjan wrote: >>>>> Mike Christie wrote: >>>>>> On 09/01/2009 09:53 AM, Mike C

Re: [RFC]: libiscsi patch to support cxgb3i on older RHEL-5/SLES-10

2009-10-29 Thread Rakesh Ranjan
Mike Christie wrote: > Rakesh Ranjan wrote: >> Rakesh Ranjan wrote: >>> Mike Christie wrote: >>>> On 09/01/2009 09:53 AM, Mike Christie wrote: >>>>> On 09/01/2009 03:58 AM, Or Gerlitz wrote: >>>>>> Mike Christie wrote: >>>&

Re: [RFC-PATCH] dhcp provisioning support in cxgb3i

2009-10-29 Thread Rakesh Ranjan
Mike Christie wrote: > Rakesh Ranjan wrote: >> Hi Mike, >> >> Herein attached patches for having dhcp provisioning support in >> cxgb3i. I have added one new iscsi netlink message >> ISCSI_UEVENT_REQ_IPCONF. > > Is the idea to have iscsid/uip send dow

[RFC-PATCH] dhcp provisioning support in cxgb3i

2009-10-29 Thread Rakesh Ranjan
Hi Mike, Herein attached patches for having dhcp provisioning support in cxgb3i. I have added one new iscsi netlink message ISCSI_UEVENT_REQ_IPCONF. Please have a look and share suggestions. Regards Rakesh Ranjan --~--~-~--~~~---~--~~ You received this message

Re: [RFC]: libiscsi patch to support cxgb3i on older RHEL-5/SLES-10

2009-10-29 Thread Rakesh Ranjan
Rakesh Ranjan wrote: > Mike Christie wrote: >> On 09/04/2009 07:44 AM, Rakesh Ranjan wrote: >>> Rakesh Ranjan wrote: >>>> Mike Christie wrote: >>>>> On 09/01/2009 09:53 AM, Mike Christie wrote: >>>>>> On 09/01/2009 03:58 AM, Or Gerl

Re: [RFC]: libiscsi patch to support cxgb3i on older RHEL-5/SLES-10

2009-09-04 Thread Rakesh Ranjan
Mike Christie wrote: > On 09/04/2009 07:44 AM, Rakesh Ranjan wrote: >> Rakesh Ranjan wrote: >>> Mike Christie wrote: >>>> On 09/01/2009 09:53 AM, Mike Christie wrote: >>>>> On 09/01/2009 03:58 AM, Or Gerlitz wrote: >>>>>> Mike Christ

Re: [RFC]: libiscsi patch to support cxgb3i on older RHEL-5/SLES-10

2009-09-04 Thread Rakesh Ranjan
Rakesh Ranjan wrote: > Mike Christie wrote: >> On 09/01/2009 09:53 AM, Mike Christie wrote: >>> On 09/01/2009 03:58 AM, Or Gerlitz wrote: >>>> Mike Christie wrote: >>>>> Or, I am ccing you because some time ago Erez was working on support >>>

Re: [RFC]: libiscsi patch to support cxgb3i on older RHEL-5/SLES-10

2009-09-03 Thread Rakesh Ranjan
o need RHEL 4 and SLES 9 support. >> > > You guys meaning, do you need iser and does Rakesh need cxgb3i? Hi Mike, Yes we do want to support cxgb3i on RHEL4/SLES9. I am sending the modified patch against current james tree's libiscsi part. This patch can replace existing 2.6.14-23

Re: [RFC]: libiscsi patch to support cxgb3i on older RHEL-5/SLES-10

2009-08-31 Thread Rakesh Ranjan
ll need RHEL 4 and maybe SLES 9 support too? > > > > On 08/31/2009 08:15 AM, Rakesh Ranjan wrote: >> Hi Mike, >> >> Attached is patch for libiscsi/libiscsi_tcp to support cxgb3i on >> RHEL-5.{,0,1,3} and SLES 10 and it applied on top of >> 2.6.14-23_c

[RFC]: libiscsi patch to support cxgb3i on older RHEL-5/SLES-10

2009-08-31 Thread Rakesh Ranjan
okay, then I will send the final patch with little bit more cleanup and needed Makefile changes. Regards Rakesh Ranjan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this g

Re: [RFC]iscsid to run in conjunction with uIP stack

2009-07-23 Thread Rakesh Ranjan
Mike Christie wrote: > Sorry for the really late response on this. > > On 06/25/2009 08:25 AM, Rakesh Ranjan wrote: >> >> Li, I have attached the diff against git master, please go through it. I >> have merged the contents of uip directory and nic related files into o

Re: [RFC]iscsid to run in conjunction with uIP stack

2009-06-22 Thread Rakesh Ranjan
ms more clean to me. But yep related code is going to be linked with iscsid anyway. Going through the cnic lib I found that to serve the iscsi_path_req, there is cnic_nl.c::cnic_arp_send, IMHO wouldn't it be more nice to have ARPOP handling in uip, which in turn can queue the packet for TX th

Re: [PATCH] iscsid to run in conjunction with the Broadcom uIP stack

2009-06-12 Thread Rakesh Ranjan
Mike Christie wrote: > On 06/12/2009 07:10 AM, Rakesh Ranjan wrote: >> Mike Christie wrote: >>> On 06/09/2009 12:50 PM, Benjamin Li wrote: >>>> Hi Rakesh, >>>> >>>> Your idea of eliminating the 'brcm_iscsiuio' daemon and integrating

Re: [PATCH] iscsid to run in conjunction with the Broadcom uIP stack

2009-06-12 Thread Rakesh Ranjan
the >> routines provided by iscsid. >> >> I think it is a great idea, if I or someone get some time to work on >> this, I think it would make the iscsi offload solution much simpler. >> > > I like this idea too. I can help. Hi Mike, What's your opi

Re: [PATCH] iscsid to run in conjunction with the Broadcom uIP stack

2009-06-09 Thread Rakesh Ranjan
Benjamin Li wrote: > On Thu, 2009-06-04 at 03:51 -0700, Rakesh Ranjan wrote: >>> > Hi Rakesh, > > Converting the dependency between uIP and UIO shouldn't be a problem. > We can make them more generic. I apologize if it is a tad bit of a > mess. The coupli