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

2009-06-23 Thread Rakesh Ranjan
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 through nic indirection ? Regards Rakesh Ranjan

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 one common libuip. So now offload dir

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

2009-08-31 Thread Rakesh Ranjan
it 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 group, send email

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

2009-08-31 Thread Rakesh Ranjan
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_compat.patch. Its based on your work for RHEL-5.4. I have run the regression test

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 for older RHEL and SLES kernels for OFED. It looks like the patch below

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 Christie wrote: Or, I am ccing you because some time ago Erez was working on support

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 down this msg? Was it not possible to hook in more like

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

2009-10-30 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: Or, I am ccing you because some time ago Erez was working on support for older RHEL and SLES

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 Christie wrote: On 09/01/2009 03:58 AM, Or Gerlitz wrote: Mike Christie wrote: Or, I am

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 Ranjan wrote: Mike Christie wrote: On 09/01/2009 09:53 AM, Mike Christie wrote: On 09/01/2009 03:58 AM

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 message ISCSI_UEVENT_REQ_IPCONF. Is the idea to have iscsid/uip send down this msg

[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: [RFC-PATCH] libiscsi dhcp handler

2009-11-16 Thread Rakesh Ranjan
David Miller wrote: From: Rakesh Ranjan rak...@chelsio.com 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 the feedback I

Re: [RFC-PATCH] libiscsi dhcp handler

2009-11-16 Thread Rakesh Ranjan
David Miller wrote: From: Rakesh Ranjan rak...@chelsio.com 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 the feedback I

Re: [RFC-PATCH] libiscsi dhcp handler

2009-11-17 Thread Rakesh Ranjan
Rakesh Ranjan wrote: David Miller wrote: From: Rakesh Ranjan rak...@chelsio.com 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

[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 k...@chelsio.com Signed-off-by: Rakesh Ranjan rak...@chelsio.com --- drivers/scsi/cxgb3i/cxgb3i_offload.c | 34

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

2009-12-10 Thread Rakesh Ranjan
; + +err = ip_route_output_key(init_net, rt, fl); +if (!err) +return (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

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

2009-12-14 Thread Rakesh Ranjan
From: Rakesh Ranjan rak...@chelsio.com 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 k...@chelsio.com Signed-off-by: Rakesh Ranjan rak...@chelsio.com --- drivers/scsi/cxgb3i

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

2009-12-26 Thread Rakesh Ranjan
From: Rakesh Ranjan rak...@chelsio.com 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 k...@chelsio.com Signed-off-by: Rakesh Ranjan rak

Re: 2.6.14-23_compat.patch CentOS 5.4

2010-01-31 Thread Rakesh Ranjan
. 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 open-iscsi+unsubscr...@googlegroups.com. For more

[PATCH 1/3] cxgb4i: add build support

2010-04-08 Thread Rakesh Ranjan
From: Rakesh Ranjan rak...@chelsio.com Signed-off-by: Rakesh Ranjan rak...@chelsio.com --- drivers/scsi/Kconfig|1 + drivers/scsi/Makefile |1 + drivers/scsi/cxgb4i/Kbuild |4 drivers/scsi/cxgb4i/Kconfig |7 +++ 4 files changed, 13 insertions(+), 0

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

Re: cxgb4i submission

2010-04-08 Thread Rakesh Ranjan
On 04/08/2010 05:48 PM, David Miller wrote: From: Rakesh Ranjan rak...@chelsio.com 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 And it is even

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

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

2010-05-04 Thread Rakesh Ranjan
From: Rakesh Ranjan rak...@chelsio.com Signed-off-by: Rakesh Ranjan rak...@chelsio.com --- drivers/scsi/cxgb4i/cxgb4i_iscsi.c | 715 drivers/scsi/cxgb4i/libcxgbi.c | 464 +++ drivers/scsi/cxgb4i/libcxgbi.h | 61 +++ 3 files

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-iscsi+unsubscr

[PATCH 1/3] cxgb4i_v3: add build support

2010-05-15 Thread Rakesh Ranjan
From: Rakesh Ranjan rran...@rudra.prachanda.hub Signed-off-by: Rakesh Ranjan rak...@chelsio.com --- drivers/scsi/Kconfig|1 + drivers/scsi/Makefile |1 + drivers/scsi/cxgb4i/Kbuild |4 drivers/scsi/cxgb4i/Kconfig |7 +++ 4 files changed, 13 insertions

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

2010-05-15 Thread Rakesh Ranjan
From: Rakesh Ranjan rran...@rudra.prachanda.hub Signed-off-by: Rakesh Ranjan rak...@chelsio.com --- drivers/scsi/cxgb4i/cxgb4i_iscsi.c | 617 drivers/scsi/cxgb4i/libcxgbi.c | 589 ++ drivers/scsi/cxgb4i/libcxgbi.h

cxgb4i_v3.1 submission

2010-05-15 Thread Rakesh Ranjan
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...@googlegroups.com. For more

[PATCH 1/3] cxgb4i_v3: add build support

2010-05-15 Thread Rakesh Ranjan
From: Rakesh Ranjan rran...@chelsio.com Signed-off-by: Rakesh Ranjan rak...@chelsio.com --- drivers/scsi/Kconfig|1 + drivers/scsi/Makefile |1 + drivers/scsi/cxgb4i/Kbuild |4 drivers/scsi/cxgb4i/Kconfig |7 +++ 4 files changed, 13 insertions(+), 0

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

2010-05-15 Thread Rakesh Ranjan
From: Rakesh Ranjan rran...@chelsio.com Signed-off-by: Rakesh Ranjan rak...@chelsio.com --- drivers/scsi/cxgb4i/cxgb4i_iscsi.c | 617 drivers/scsi/cxgb4i/libcxgbi.c | 589 ++ drivers/scsi/cxgb4i/libcxgbi.h | 430

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

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

2010-05-27 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 Ranjanrran...@chelsio.com Signed-off-by: Rakesh Ranjanrak...@chelsio.com --- drivers/scsi/cxgb4i/cxgb4i_iscsi.c | 617

cxgb4i_v4 submission

2010-06-04 Thread Rakesh Ranjan
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-iscsi group

[RESEND]cxgb4i_v4 submission

2010-06-04 Thread Rakesh Ranjan
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 because you

[PATCH 1/3] cxgb4i_v4: add build support

2010-06-04 Thread Rakesh Ranjan
From: Rakesh Ranjan rak...@chelsio.com Signed-off-by: Rakesh Ranjan rak...@chelsio.com --- 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

cxgb4i_v4.2 submission

2010-06-07 Thread Rakesh Ranjan
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 group. To post

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

2010-06-07 Thread Rakesh Ranjan
From: Rakesh Ranjan rak...@chelsio.com Signed-off-by: Rakesh Ranjan rak...@chelsio.com --- 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

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

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

cxgb4i_v4.3 submission

2010-06-07 Thread Rakesh Ranjan
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 group. To post

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

2010-06-07 Thread Rakesh Ranjan
From: Rakesh Ranjan rak...@chelsio.com Signed-off-by: Rakesh Ranjan rak...@chelsio.com --- 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

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

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

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 Ranjan