Re: [PATCH 1/1] IB/iser: Remove hard coded values for cqe and send_wr

2014-10-13 Thread Jayamohan Kallickal
>On Tue, Oct 7, 2014 at 10:58 PM, Sagi Grimberg >wrote: >>On 10/8/2014 3:41 AM, Jay Kallickal wrote: >>From: Jayamohan Kallickal >> This patch allows the underlying hardware to choose >>values other than hard coded max values for cqe and send_wr >>

RE: [PATCH v3 08/13] be2iscsi: Use pci_enable_msix_range()

2014-08-22 Thread Jayamohan Kallickal
-Original Message- From: Tomas Henzl [mailto:the...@redhat.com] Sent: Thursday, August 21, 2014 4:10 AM To: Alexander Gordeev; linux-ker...@vger.kernel.org Cc: Jayamohan Kallickal; linux-scsi@vger.kernel.org; linux-...@vger.kernel.org Subject: Re: [PATCH v3 08/13] be2iscsi: Use

RE: [PATCH 2/6] be2iscsi: relinquishing control after processing 512 CQE

2014-04-02 Thread Jayamohan Kallickal
-Original Message- From: Mike Christie [mailto:micha...@cs.wisc.edu] Sent: Sunday, March 30, 2014 10:25 PM To: Jayamohan Kallickal Cc: jbottom...@parallels.com; linux-scsi@vger.kernel.org; Jayamohan Kallickal; Minh Duc Tran; Sony John-N Subject: Re: [PATCH 2/6] be2iscsi: relinquishing

RE: [PATCH 5/6] be2iscsi: Fix TCP parameters while connection offloading.

2014-04-02 Thread Jayamohan Kallickal
-Original Message- From: Mike Christie [mailto:micha...@cs.wisc.edu] Sent: Sunday, March 30, 2014 9:54 PM To: Jayamohan Kallickal Cc: jbottom...@parallels.com; linux-scsi@vger.kernel.org; Jayamohan Kallickal; Minh Duc Tran; Sony John-N Subject: Re: [PATCH 5/6] be2iscsi: Fix TCP

RE: [PATCH 3/6] be2iscsi: Fix MCCQ posting for Mbx-Cmd after driver initialization is complete

2014-04-02 Thread Jayamohan Kallickal
-Original Message- From: Mike Christie [mailto:micha...@cs.wisc.edu] Sent: Thursday, March 27, 2014 5:46 PM To: Jayamohan Kallickal; jbottom...@parallels.com; linux-scsi@vger.kernel.org Cc: Jayamohan Kallickal; Sony John-N Subject: Re: [PATCH 3/6] be2iscsi: Fix MCCQ posting for Mbx-Cmd

RE: [PATCH 02/55] scsi: Mark function as static in be2iscsi/be_cmds.c

2014-04-02 Thread Jayamohan Kallickal
Looks good Acked-by: Jayamohan Kallickal --- -Original Message- From: Rashika Kheria [mailto:rashika.khe...@gmail.com] Sent: Saturday, March 29, 2014 10:44 AM To: linux-ker...@vger.kernel.org Cc: Jayamohan Kallickal; James E.J. Bottomley; linux-scsi@vger.kernel.org; j

[PATCH 5/6] be2iscsi: Fix TCP parameters while connection offloading.

2014-03-27 Thread Jayamohan Kallickal
SKH-R adapter, TCP Window Size/Scale parameters are passed in TCP Connection Offload Mbx Command. Signed-off-by: Minh Tran Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.h | 20 drivers/scsi/be2iscsi/be_iscsi.c | 19

[PATCH 6/6] be2iscsi: Bump the driver version.

2014-03-27 Thread Jayamohan Kallickal
Bump driver version Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h index b3716e3..43f0b38 100644

[PATCH 0/6] be2iscsi: Update to 10.2.218.0

2014-03-27 Thread Jayamohan Kallickal
posting for Mbx Cmd after driver init 0004 - Fix Interrupt coalescing mechanism 0005 - Fix TCP parameters while creating connection 0006 - Bump the driver version Thanks Jay Signed-off-by: Jayamohan Kallickal --- -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in t

[PATCH 3/6] be2iscsi: Fix MCCQ posting for Mbx-Cmd after driver initialization is complete

2014-03-27 Thread Jayamohan Kallickal
-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 8 drivers/scsi/be2iscsi/be_main.c | 2 ++ drivers/scsi/be2iscsi/be_main.h | 1 + 3 files changed, 11 insertions(+) diff --git a/drivers/scsi/be2iscsi/be_cmds.c b/drivers/scsi/be2iscsi/be_cmds.c index 1432ed5..4cabf5f 100644

[PATCH 1/6] be2iscsi: Fix retrieving MCCQ_WRB in non-embedded Mbox path

2014-03-27 Thread Jayamohan Kallickal
ore returning wrb ptr. Removed memset of mccq wrb from all other functions. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_mgmt.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_mgmt.

[PATCH 4/6] be2iscsi: Fix interrupt Coalescing mechanism.

2014-03-27 Thread Jayamohan Kallickal
This patch fixes lack of support for interrupt moderation. This moderates the coalescing based on the rate of IO Completion Signed-off-by: Minh Tran Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be.h | 11 drivers/scsi

[PATCH 2/6] be2iscsi: relinquishing control after processing 512 CQE

2014-03-27 Thread Jayamohan Kallickal
stuck in IO poll for a long time. In such cases driver did not rearm which could lead to unprocessed eq.Change sched iopoll once then check for valid bit of eqe from eq in be_iopoll. Signed-off-by: Minh Tran Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi

[PATCH 0/4] be2iscsi: Update to 10.2.214.0

2014-03-23 Thread Jayamohan Kallickal
Signed-off-by: Jayamohan Kallickal --- -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/4] be2iscsi: Fix retreving MCCQ_WRB in non-embedded Mbox path

2014-03-23 Thread Jayamohan Kallickal
ore returning wrb ptr. Removed memset of mccq wrb from all other functions. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_mgmt.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_mgmt.

[PATCH 4/4] be2iscsi: Bump the driver version

2014-03-23 Thread Jayamohan Kallickal
Bumping the driver version Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h index 581ebdb..cd781bb

[PATCH 2/4] be2iscsi: relinquishing control after processing 512 CQE

2014-03-23 Thread Jayamohan Kallickal
stuck in IO poll for a long time. In such cases driver did not rearm which could lead to unprocessed eq.Change sched iopoll once then check for valid bit of eqe from eq in be_iopoll. Signed-off-by: Minh Tran Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi

[PATCH 3/4] be2iscsi: Fix MCCQ posting for Mbx-Cmd after driver initialization is complete

2014-03-23 Thread Jayamohan Kallickal
-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 75 + drivers/scsi/be2iscsi/be_main.h | 1 + 2 files changed, 47 insertions(+), 29 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 9be818f

RE: [PATCH v2 01/23] be2iscsi: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-03-11 Thread Jayamohan Kallickal
-Original Message- From: Alexander Gordeev [mailto:agord...@redhat.com] Sent: Monday, February 24, 2014 12:02 AM To: linux-ker...@vger.kernel.org Cc: Alexander Gordeev; Jayamohan Kallickal; linux-scsi@vger.kernel.org; linux-...@vger.kernel.org Subject: [PATCH v2 01/23] be2iscsi: Use

RE: [PATCH] [SCSI] be2iscsi: use NULL instead of 0 for pointer

2014-03-11 Thread Jayamohan Kallickal
-Original Message- From: Daeseok Youn [mailto:daeseok.y...@gmail.com] Sent: Thursday, February 20, 2014 5:13 PM To: jbottom...@parallels.com Cc: Jayamohan Kallickal; linux-scsi@vger.kernel.org; linux-ker...@vger.kernel.org Subject: [PATCH] [SCSI] be2iscsi: use NULL instead of 0 for

RE: [PATCH 3/8] be2iscsi : Fix IRQ_Affinity support in driver.

2014-02-04 Thread Jayamohan Kallickal
-Original Message- From: Mike Christie [mailto:micha...@cs.wisc.edu] Sent: Saturday, February 01, 2014 2:47 PM To: Jayamohan Kallickal Cc: jbottom...@parallels.com; linux-scsi@vger.kernel.org; Jayamohan Kallickal; Sony John-N Subject: Re: [PATCH 3/8] be2iscsi : Fix IRQ_Affinity support

RE: [PATCH 01/22] be2iscsi: Use pci_enable_msix_range()

2014-02-04 Thread Jayamohan Kallickal
-Original Message- From: Alexander Gordeev [mailto:agord...@redhat.com] Sent: Tuesday, February 04, 2014 3:17 AM To: linux-ker...@vger.kernel.org Cc: Alexander Gordeev; Jayamohan Kallickal; linux-scsi@vger.kernel.org; linux-...@vger.kernel.org Subject: [PATCH 01/22] be2iscsi: Use

[PATCH 7/8] be2iscsi : Fix DMA Out of SW-IOMMU space error

2014-01-28 Thread Jayamohan Kallickal
From: Jayamohan Kallickal Setting DMA bit mask 64 and roll back to 32 if not supported. Signed-off-by: Minh Tran Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/be2iscsi

[PATCH 6/8] be2iscsi: Fix scsi_cmnd leakage in driver.

2014-01-28 Thread Jayamohan Kallickal
From: Jayamohan Kallickal scsi_cmnd n io_task was not NULL when - Link goes down while IO was happening and session is closed. - Task for which TMF was sent. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 10 +- 1 file

[PATCH 8/8] be2iscsi : Bump the driver version

2014-01-28 Thread Jayamohan Kallickal
From: Jayamohan Kallickal Bump Driver Version Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h

[PATCH V2 0/8] be2iscsi: Update to 10.2.125.0

2014-01-28 Thread Jayamohan Kallickal
From: Jayamohan Kallickal This patchset updates be2iscsi driver to 10.2.125.0. Regarding comments by Mike Christie on Version 1 Patch 5/7) - converted to common function Patch 4/7 - Will withdraw for now as there is lots of changes to be done. These patches are based of

[PATCH 4/8] be2iscsi: Fix doorbell format for EQ/CQ/RQ s per SLI spec.

2014-01-28 Thread Jayamohan Kallickal
From: Jayamohan Kallickal The doorbel format has been updated to support additonal functionalities of SKH-R adapter. These changes are made such that older FW also works fine. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 14

[PATCH 3/8] be2iscsi : Fix IRQ_Affinity support in driver.

2014-01-28 Thread Jayamohan Kallickal
From: Jayamohan Kallickal Provides IRQ_Affinity setting for the driver. Enabling IRQ_Affinity is through module params. Default IRQ_AFFINITY support is OFF. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.h | 9 +++- drivers/scsi

[PATCH 1/8] be2iscsi: Fix handling timed out MBX completion from FW

2014-01-28 Thread Jayamohan Kallickal
From: Jayamohan Kallickal When an MBX command timeout happens,the resources associated with the MBX command were freed. If FW were to give the response to host after the timeout value set by driver then driver crashes as the MBX Cmd resources were already freed. This patch fixes this issue

[PATCH 2/8] be2iscsi: Fix port speed typo in driver.

2014-01-28 Thread Jayamohan Kallickal
From: Jayamohan Kallickal The 100Mbps port speed macro used was not proper. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers

[PATCH 5/8] be2iscsi: Fix the session cleanup when reboot/shutdown happens

2014-01-28 Thread Jayamohan Kallickal
From: Jayamohan Kallickal In iSCSI Boot scenario, when machine is reboot/shutdown phase the active sessions are not closed. Driver queue cleanup is done as part of unload and device is disabled. Sessions are still active, iSCSI commands are issued from session which comes to driver, as

[LSF/MM ATTEND] Interested in bk-mq, scsi-mq , ISER, T10PI

2014-01-22 Thread Jayamohan Kallickal
James, I'd like to attend LSF/MM 2014. Have been trying out blk-mq / scsi-mq on Emulex offloaded iSCSi Solution. Also interested in T10 PI, iSER and RDMA. Also, am the Maintainer of be2iscsi driver. Thanks Jay -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in th

[PATCH 5/7] be2iscsi: Fix doorbell format for EQ/CQ/RQ s per SLI spec.

2014-01-12 Thread Jayamohan Kallickal
The doorbel format has been updated to support additonal functionalities of SKH-R adapter. These changes are made such that older FW also works fine. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 12 +++- drivers/scsi

[PATCH 4/7] be2iscsi : Fix statistics update in the driver.

2014-01-12 Thread Jayamohan Kallickal
Statistics counters which are added is - NOP IN/OUT counters - Login PDU counters - Text PDU counters - Logout PDU counters - ASYNC_PDU counters - Reject PDU counters - Digest Error counters Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi

[PATCH 0/7] be2iscsi: Update to 10.2.84.0

2014-01-12 Thread Jayamohan Kallickal
statistics in driver PATCH 0005 - Fix DoorBell FOrmat for EQ and CQ PATCH 0006 - Fix Session Cleanup PATCH 0007 - Bump the driver version Thanks Jay Signed-off-by: Jayamohan Kallickal --- -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a

[PATCH 7/7] be2iscsi : Bump driver version

2014-01-12 Thread Jayamohan Kallickal
Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h index 3806a09..ea98713 100644 --- a/drivers/scsi/be2iscsi

[PATCH 6/7] be2iscsi: Fix the session cleanup when reboot/shutdown happens

2014-01-12 Thread Jayamohan Kallickal
disabled there is kernel stack dump with errors. Fix is invoking iscsi_session_failure with ISCSI_ERR_INVALID_HOST on all the active sessions when shutdown routine is called. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be.h |1 + drivers

[PATCH 3/7] be2iscsi : Fix IRQ_Affinity support in driver.

2014-01-12 Thread Jayamohan Kallickal
Provides IRQ_Affinity setting for the driver. Enabling IRQ_Affinity is through module params. Default IRQ_AFFINITY support is OFF. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.h |9 +++- drivers/scsi/be2iscsi/be_main.c | 97

[PATCH 2/7] be2iscsi: Fix port speed typo in driver.

2014-01-12 Thread Jayamohan Kallickal
The 100Mbps port speed macro used was not proper. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers/scsi/be2iscsi/be_iscsi.c

[PATCH 1/7] be2iscsi: Fix handling timed out MBX completion from FW

2014-01-12 Thread Jayamohan Kallickal
for each of the MBX command posted/timedout/completed. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be.h | 10 + drivers/scsi/be2iscsi/be_cmds.c | 90 -- drivers/scsi/be2iscsi/be_cmds.h |3

RE: scsi-mq + open-iscsi support patches..?

2013-11-02 Thread Jayamohan Kallickal
-Original Message- From: open-is...@googlegroups.com [mailto:open-is...@googlegroups.com] On Behalf Of Nicholas A. Bellinger Sent: Friday, November 01, 2013 1:37 PM To: Mike Christie Cc: open-is...@googlegroups.com; linux-scsi; LKML; target-devel; Or Gerlitz Subject: Re: scsi-mq + open-is

[PATCH V2 00/23] be2iscsi: Update to 10.0.659.0

2013-09-28 Thread Jayamohan Kallickal
WRB in Abort Reset Path PATCH V2 0021 - Fix AER handling in driver PATCH V2 0022 - Fix SGL posting for unaligned ICD values.patch PATCH V2 0023 - Bump the driver version Thanks Jay Signed-off-by: Jayamohan Kallickal --- -- To unsubscribe from this list: send the line "unsubscribe

[PATCH V2 23/23] be2iscsi: Bump driver version

2013-09-28 Thread Jayamohan Kallickal
Bump the driver version Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h index aace072..31fa27b 100644

[PATCH V2 20/23] be2iscsi: Invalidate WRB in Abort/Reset Path

2013-09-28 Thread Jayamohan Kallickal
When iSCSI stack invokes Abort or Reset handlers, the aborted tasks Invalid Bit in WRB needs to be set. Else FW will not be aware of the command invalidated which leads to BAD_WRB error posted by FW. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi

[PATCH V2 22/23] be2iscsi: Fix SGL posting for unaligned ICD values

2013-09-28 Thread Jayamohan Kallickal
If certain configuration it is possible that ICD range is not page-aligned. SGL posting failed in these configuration and driver load was not success. This fix aligns ICD range values and SGL posting for IO is done. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal

[PATCH V2 21/23] be2iscsi: Fix AER handling in driver

2013-09-28 Thread Jayamohan Kallickal
This patch fixes the lack of AER support Signed-off-by: Minh Tran Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c |2 +- drivers/scsi/be2iscsi/be_iscsi.c | 68 ++-- drivers/scsi/be2iscsi/be_main.c | 220

[PATCH V2 19/23] be2iscsi: Fix Insufficient Buffer Error returned in MBX Completion

2013-09-28 Thread Jayamohan Kallickal
When MBX_Cmd completion happens with error code Insufficient Buffer, the MBX_Cmd is posted again with the new buffer size posted by FW. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 20 ++--- drivers/scsi/be2iscsi/be_iscsi.c

[PATCH V2 15/23] be2iscsi: Dispaly CID available for connection offload

2013-09-28 Thread Jayamohan Kallickal
Display CID available on each iSCSI Fn which can be used to offload a connection. The display is split across available CID on each chute. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c |8 ++-- drivers/scsi/be2iscsi/be_mgmt.c

[PATCH V2 18/23] be2iscsi: Fix log level for protocol specific logs

2013-09-28 Thread Jayamohan Kallickal
Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 11 --- drivers/scsi/be2iscsi/be_main.h |1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c

[PATCH V2 12/23] be2iscsi: Fix CID allocation/freeing to support Dual chute mode

2013-09-28 Thread Jayamohan Kallickal
Configuration parameters returns the number of connection that can be offloaded one each chute. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c | 54 ++- drivers/scsi/be2iscsi/be_main.c | 108

[PATCH V2 14/23] be2iscsi: Fix chute cleanup during drivers unload.

2013-09-28 Thread Jayamohan Kallickal
This patch cleans up both chutes on unload Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 14 ++ drivers/scsi/be2iscsi/be_mgmt.c | 17 + 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a

[PATCH V2 13/23] be2iscsi: Fix connection offload to support Dual Chute.

2013-09-28 Thread Jayamohan Kallickal
The connection is offload to each chute in a round-robin manner if both the chute is loaded with iSCSI protocol Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c |6 ++ drivers/scsi/be2iscsi/be_main.c | 13 - drivers

[PATCH V2 16/23] be2iscsi: Display Port Identifier for each iSCSI function

2013-09-28 Thread Jayamohan Kallickal
Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c |2 ++ drivers/scsi/be2iscsi/be_mgmt.c | 19 +++ drivers/scsi/be2iscsi/be_mgmt.h |3 +++ 3 files changed, 24 insertions(+) diff --git a/drivers/scsi/be2iscsi/be_main.c

[PATCH V2 17/23] be2iscsi: Fix MSIx creation for SKH-R adapter

2013-09-28 Thread Jayamohan Kallickal
The MSIx to be created for SKH-R adapter should be based on eq_count returned by get_fw_config. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 45 +-- drivers/scsi/be2iscsi/be_main.h |3

[PATCH V2 11/23] be2iscsi: Fix WRB_Q posting to support Dual Chute mode

2013-09-28 Thread Jayamohan Kallickal
Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 37 ++--- drivers/scsi/be2iscsi/be_cmds.h | 12 +--- drivers/scsi/be2iscsi/be_main.c | 30 +++--- drivers/scsi/be2iscsi/be_main.h | 35

[PATCH V2 04/23] be2iscsi: Fix negotiated parameters upload to FW

2013-09-28 Thread Jayamohan Kallickal
- Removed the check of MaxXmitDSL == 0 as this is not a possible case. - Update connection offload data structure for SKH-R adapters. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c |7 +-- drivers/scsi/be2iscsi/be_main.h | 29

[PATCH V2 10/23] be2iscsi: Fix SGL Initilization and posting Pages for Dual Chute

2013-09-28 Thread Jayamohan Kallickal
Initialization of SGL and related PAGE posting is to be done for the chute. Based on configuration value of each Chute,SGL initialization and page posting is done. For BE-X family iSCSI protocol is loaded only on single chute Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal

[PATCH V2 07/23] be2iscsi: Config parameters update for Dual Chute Support

2013-09-28 Thread Jayamohan Kallickal
Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.h | 14 +++ drivers/scsi/be2iscsi/be_main.c | 63 +++- drivers/scsi/be2iscsi/be_main.h | 27 -- drivers/scsi/be2iscsi/be_mgmt.c | 77 ++- 4

[PATCH V2 02/23] be2iscsi: Fix the MCCQ count leakage

2013-09-28 Thread Jayamohan Kallickal
When MBX CMD is posted in MCCQ and if command times out,during mccq resource cleanup for the timed out command mccq->count was not decremented. The led to BUG_ON being hit. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c |6 +-

[PATCH V2 09/23] be2iscsi: Fix Template HDR support for Dual Chute mode

2013-09-28 Thread Jayamohan Kallickal
Template HDR is created for each chute which has iSCSI Protocol loaded. For BE-X family iSCSI protocol is loaded only on single chute. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 43 +++ drivers

[PATCH V2 05/23] be2iscsi: Fix locking mechanism in Unsol Path

2013-09-28 Thread Jayamohan Kallickal
The default pdu is a common resource and needs to be protected while manipulating it. Signed-off-by: Minh Tran Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c |7 +++ drivers/scsi/be2iscsi/be_main.h |1 + 2 files changed

[PATCH V2 03/23] be2iscsi: Fix repeated issue of MAC ADDR get IOCTL

2013-09-28 Thread Jayamohan Kallickal
Storing MAC ADDR of each function in it's priv structure to avoid issuing MAC_ADDR get IOCTL. Based on a flag set/unset it's decided if MAC_ADDR is stored in priv structure or IOCTL needs to be issued. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- dr

[PATCH V2 01/23] be2iscsi: Fix Template HDR IOCTL

2013-09-28 Thread Jayamohan Kallickal
Allocating memory in the Host which will be used by the TOE functionality during Session Offload. This fix will allow performance improvement as adapter memory contention will be reduced. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c

[PATCH V2 08/23] be2iscsi: Fix changes in ASYNC Path for SKH-R adapter

2013-09-28 Thread Jayamohan Kallickal
Chute. Change in the ASYNC path initialization based on the configuration parameters returned for each chute. For BE-X family iSCSI protocol is loaded only on single chute. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 42 ++- drivers

[PATCH V2 06/23] be2iscsi: Fix soft lock up issue during UE or if FW taking time to respond

2013-09-28 Thread Jayamohan Kallickal
Bit is Set - The timeout set in MBX_CMD expires Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be.h |2 +- drivers/scsi/be2iscsi/be_cmds.c | 48 +-- drivers/scsi/be2iscsi/be_main.c |5 ++-- 3 files

RE: [PATCH 04/22] be2iscsi: Fix negotiated parameters upload to FW

2013-09-17 Thread Jayamohan Kallickal
-Original Message- From: Mike Christie [mailto:micha...@cs.wisc.edu] Sent: Tuesday, September 17, 2013 2:16 PM To: Jayamohan Kallickal Cc: Jayamohan Kallickal; jbottom...@parallels.com; linux-scsi@vger.kernel.org; Sony John-N Subject: Re: [PATCH 04/22] be2iscsi: Fix negotiated parameters

RE: [PATCH 04/22] be2iscsi: Fix negotiated parameters upload to FW

2013-09-16 Thread Jayamohan Kallickal
-Original Message- From: Mike Christie [mailto:micha...@cs.wisc.edu] Sent: Monday, September 16, 2013 7:59 PM To: Jayamohan Kallickal Cc: jbottom...@parallels.com; linux-scsi@vger.kernel.org; Jayamohan Kallickal; Sony John-N Subject: Re: [PATCH 04/22] be2iscsi: Fix negotiated

[PATCH 18/22] be2iscsi: Fix log level for protocol specific logs

2013-09-12 Thread Jayamohan Kallickal
Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 11 --- drivers/scsi/be2iscsi/be_main.h |1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c

[PATCH 21/22] be2iscsi: Fix AER handling in driver

2013-09-12 Thread Jayamohan Kallickal
This patch fixes the lack of AER support Signed-off-by: Minh Tran Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c |2 +- drivers/scsi/be2iscsi/be_iscsi.c | 68 ++-- drivers/scsi/be2iscsi/be_main.c | 220

[PATCH 20/22] be2iscsi: Invalidate WRB in Abort/Reset Path

2013-09-12 Thread Jayamohan Kallickal
When iSCSI stack invokes Abort or Reset handlers, the aborted tasks Invalid Bit in WRB needs to be set. Else FW will not be aware of the command invalidated which leads to BAD_WRB error posted by FW. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi

[PATCH 17/22] be2iscsi: Fix MSIx creation for SKH-R adapter

2013-09-12 Thread Jayamohan Kallickal
The MSIx to be created for SKH-R adapter should be based on eq_count returned by get_fw_config. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 45 +-- drivers/scsi/be2iscsi/be_main.h |3

[PATCH 11/22] be2iscsi: Fix WRB_Q posting to support Dual Chute mode

2013-09-12 Thread Jayamohan Kallickal
Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 36 +--- drivers/scsi/be2iscsi/be_cmds.h | 12 +--- drivers/scsi/be2iscsi/be_main.c | 30 +++--- drivers/scsi/be2iscsi/be_main.h | 35

[PATCH 19/22] be2iscsi: Fix Insufficient Buffer Error returned in MBX Completion

2013-09-12 Thread Jayamohan Kallickal
When MBX_Cmd completion happens with error code Insufficient Buffer, the MBX_Cmd is posted again with the new buffer size posted by FW. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 20 ++--- drivers/scsi/be2iscsi/be_iscsi.c

[PATCH 12/22] be2iscsi: Fix CID allocation/freeing to support Dual Chute Mode

2013-09-12 Thread Jayamohan Kallickal
Configuration parameters returns the number of connection that can be offloaded one each chute. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c | 54 ++- drivers/scsi/be2iscsi/be_main.c | 108

[PATCH 16/22] be2iscsi: Display Port Identifier for each iSCSI function.

2013-09-12 Thread Jayamohan Kallickal
Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c |2 ++ drivers/scsi/be2iscsi/be_mgmt.c | 19 +++ drivers/scsi/be2iscsi/be_mgmt.h |3 +++ 3 files changed, 24 insertions(+) diff --git a/drivers/scsi/be2iscsi/be_main.c

[PATCH 14/22] be2iscsi: Fix chute cleanup during drivers unload.

2013-09-12 Thread Jayamohan Kallickal
This patch cleans up both chutes on unload Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 14 ++ drivers/scsi/be2iscsi/be_mgmt.c | 17 + 2 files changed, 23 insertions(+), 8 deletions(-) diff --git

[PATCH 22/22] be2iscsi: Bump driver version

2013-09-12 Thread Jayamohan Kallickal
Bump the driver version Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h index 31ac059..c8ed461

[PATCH 10/22] be2iscsi: Fix SGL Initilization and posting Pages for Dual Chute

2013-09-12 Thread Jayamohan Kallickal
Initialization of SGL and related PAGE posting is to be done for the chute. Based on configuration value of each Chute,SGL initialization and page posting is done. For BE-X family iSCSI protocol is loaded only on Chute - 1. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal

[PATCH 15/22] be2iscsi: Dispaly CID available for connection offload.

2013-09-12 Thread Jayamohan Kallickal
Display CID available on each iSCSI Fn which can be used to offload a connection. The display is split across available CID on each chute. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c |8 ++-- drivers/scsi/be2iscsi/be_mgmt.c

[PATCH 09/22] be2iscsi: Fix Template HDR support for Dual Chute mode

2013-09-12 Thread Jayamohan Kallickal
Template HDR is created for each chute which has iSCSI Protocol loaded. For BE-X family iSCSI protocol is loaded only on Chute - 1. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 44 +++ drivers

[PATCH 13/22] be2iscsi: Fix connection offload to support Dual Chute

2013-09-12 Thread Jayamohan Kallickal
The connection is offload to each chute in a round-robin manner if both the chute is loaded with iSCSI protocol Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c |6 ++ drivers/scsi/be2iscsi/be_main.c | 13 - drivers

[PATCH 00/22] be2iscsi: Update to 10.0.635.0

2013-09-12 Thread Jayamohan Kallickal
- Invalidate WRB in Abort Reset Path PATCH 0021 - Fix AER handling in driver PATCH 0022 - Bump the driver version Thanks Jay Signed-off-by: Jayamohan Kallickal --- -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kerne

[PATCH 08/22] be2iscsi: Fix changes in ASYNC Path for SKH-R adapter

2013-09-12 Thread Jayamohan Kallickal
Chute. Change in the ASYNC path initialization based on the configuration parameters returned for each chute. For BE-X family iSCSI protocol is loaded only on Chute - 1. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 42 ++- drivers/scsi

[PATCH 05/22] be2iscsi: Fix locking mechanism in Unsol Path

2013-09-12 Thread Jayamohan Kallickal
The default pdu is a common resource and needs to be protected while manipulating it. Signed-off-by: Minh Tran Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c |7 +++ drivers/scsi/be2iscsi/be_main.h |1 + 2 files

[PATCH 06/22] be2iscsi: Fix soft lock up issue during UE or if FW taking time to respond

2013-09-12 Thread Jayamohan Kallickal
Ready Bit is Set - The timeout set in MBX_CMD expires Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be.h |2 +- drivers/scsi/be2iscsi/be_cmds.c | 47 +-- drivers/scsi/be2iscsi/be_main.c |5 ++--- 3

[PATCH 04/22] be2iscsi: Fix negotiated parameters upload to FW

2013-09-12 Thread Jayamohan Kallickal
structure for SKH-R adapters. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c |9 +++-- drivers/scsi/be2iscsi/be_main.h | 29 - drivers/scsi/be2iscsi/be_mgmt.c |8 +++- 3 files changed, 26

[PATCH 07/22] be2iscsi: Config parameters update for Dual Chute Support

2013-09-12 Thread Jayamohan Kallickal
Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.h | 14 +++ drivers/scsi/be2iscsi/be_main.c | 64 +++- drivers/scsi/be2iscsi/be_main.h | 27 -- drivers/scsi/be2iscsi/be_mgmt.c | 78 ++- 4

[PATCH 01/22] be2iscsi: Fix Template HDR IOCTL

2013-09-12 Thread Jayamohan Kallickal
Allocating memory in the Host which will be used by the TOE functionality during Session Offload. This fix will allow performance improvement as adapter memory contention will be reduced. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c

[PATCH 03/22] be2iscsi: Fix repeated issue of MAC ADDR get IOCTL

2013-09-12 Thread Jayamohan Kallickal
Storing MAC ADDR of each function in it's priv structure to avoid issuing MAC_ADDR get IOCTL. Based on a flag set/unset it's decided if MAC_ADDR is stored in priv structure or IOCTL needs to be issued. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- dr

[PATCH 02/22] be2iscsi: Fix the MCCQ count leakage

2013-09-12 Thread Jayamohan Kallickal
When MBX CMD is posted in MCCQ and if command times out,during mccq resource cleanup for the timed out command mccq->count was not decremented. The led to BUG_ON being hit. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c |6 +-

be2iscsi: Patchset for be2iscsi

2013-04-05 Thread Jayamohan Kallickal
be_iopoll Acking patch by Shlomo Pongratz - Fix issue in passing the exp_cmdsn and max_cmdsn - Bump the driver version Thanks Jay Signed-off-by: Jayamohan Kallickal --- -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of

[PATCH V2 17/18] be2iscsi: Fix issue in passing the exp_cmdsn and max_cmdsn

2013-04-05 Thread Jayamohan Kallickal
and max_cmdsn values were not converted to BE format before calling the __iscsi_complete_pdu(). Fixed the issue of converting to BE format. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 17 + 1 file changed, 9 insertions

[PATCH V2 18/18] be2iscsi: Bump the driver version

2013-04-05 Thread Jayamohan Kallickal
This patch bumps the version number Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h index 23be676

[PATCH V2 14/18] be2scsi: Fix the copyright information

2013-04-05 Thread Jayamohan Kallickal
This patch fixes the copyright information in all files Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be.h |2 +- drivers/scsi/be2iscsi/be_cmds.c |2 +- drivers/scsi/be2iscsi/be_cmds.h |2 +- drivers/scsi/be2iscsi

[PATCH V2 16/18] be2iscsi: Fix possible reentrancy issue in be_iopoll

2013-04-05 Thread Jayamohan Kallickal
ead can enter here and change "ret". return ret; Fix - remove the "static" Signed-off-by: Shlomo Pongratz Acked-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/be2iscsi/

[PATCH V2 13/18] be2iscsi: Fix checking Adapter state while establishing CXN

2013-04-05 Thread Jayamohan Kallickal
Before tyring to establish a CXN with the target, check if the adapter is in a stable state Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b

[PATCH V2 15/18] be2iscsi: Fix the session cleanup when reboot/shutdown happens

2013-04-05 Thread Jayamohan Kallickal
During reboot/shutdown cycle, the active sessions were not updated. In iSCSI Boot case, the boot session was alive and this fix informs that the machine is going down, so no more ops happens on that session. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi

[PATCH V2 11/18] be2iscsi : Fix the NOP-In handling code path

2013-04-05 Thread Jayamohan Kallickal
calling iscsi_put_task. Signed-off-by: Minh Tran Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c |3 ++- drivers/scsi/be2iscsi/be_main.c | 21 - drivers/scsi/be2iscsi/be_main.h |3 ++- 3 files changed, 12

[PATCH V2 12/18] be2iscsi: Fix dynamic CID allocation Mechanism in driver

2013-04-05 Thread Jayamohan Kallickal
Number of CID assigned to a function from adapter can be dynamic. The CID count for each function was fixed number before. Code Fix done so that adapters with fixed/dynamic CID count will work with the driver. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi

[PATCH V2 10/18] be2iscsi: Fix the Port Link Status issue

2013-04-05 Thread Jayamohan Kallickal
Check the Logical Link status also as part of the port link status. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 26 +++--- drivers/scsi/be2iscsi/be_cmds.h |6 +- 2 files changed, 16 insertions(+), 16

  1   2   >