[PATCH 1/2] be2iscsi: Fix updating the next pointer during WRB posting

2015-08-19 Thread John Soni Jose
before ringing the doorbell and updates in the WRB. Signed-off-by: John Soni Jose sony.j...@avagotech.com --- drivers/scsi/be2iscsi/be_main.c | 62 +- drivers/scsi/be2iscsi/be_main.h |5 ++- drivers/scsi/be2iscsi/be_mgmt.c | 24 -- drivers

[PATCH] libiscsi: Fix host busy blocking during connection teardown

2015-06-23 Thread John Soni Jose
session-state = ISCSI_STATE_TERMINATE. Signed-off-by: John Soni Jose sony.j...@aavagotech.com --- drivers/scsi/libiscsi.c | 25 ++--- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c index 8053f24..98d9bb6 100644

[PATCH V2 1/7] be2iscsi : Fix the retry count for boot targets

2015-04-24 Thread John Soni Jose
Increment the retry count to get the boot target info when port async event is received by the driver. Update sysfs enteries with the boot target parameters. Signed-off-by: Minh Tran minhduc.t...@emulex.com Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan

[PATCH V2 3/7] be2iscsi : Fix memory leak in the unload path

2015-04-24 Thread John Soni Jose
Driver was not freeing the DMA memory allocated for EQ/CQ in the unload path. This patch frees the DMA memory during the driver unload. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c

[PATCH V2 0/7] be2iscsi driver update to 10.6.0.0

2015-04-24 Thread John Soni Jose
The patchset updates be2iscsi driver to 10.6.0.0 version. These patches are generated aganist scsi for-next branch John Soni Jose (7): be2iscsi : Fix the retry count for boot targets be2iscsi : Fix the PCI request region reserving. be2iscsi : Fix memory leak in the unload path be2iscsi

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

2015-04-24 Thread John Soni Jose
Bump the driver version Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers

[PATCH V2 4/7] be2iscsi : Fix memory check before unmapping.

2015-04-24 Thread John Soni Jose
Check DMA memory before it is unmapped. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/scsi

[PATCH V2 5/7] be2iscsi : Update the copyright year

2015-04-24 Thread John Soni Jose
Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be.h |2 +- drivers/scsi/be2iscsi/be_cmds.c |2 +- drivers/scsi/be2iscsi/be_cmds.h |2 +- drivers/scsi/be2iscsi/be_iscsi.c |2

[PATCH V2 6/7] be2iscsi : Logout of FW Boot Session

2015-04-24 Thread John Soni Jose
Once be2iscsi driver is loaded and operational close Boot session established by FW. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_cmds.h | 12 +++ drivers/scsi/be2iscsi/be_main.c |3

[PATCH 3/7] be2iscsi : Fix memory leak in the unload path

2015-04-16 Thread John Soni Jose
Driver was not freeing the DMA memory allocated for EQ/CQ in the unload path. This patch frees the DMA memory during the driver unload. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c

[PATCH 2/7] be2iscsi : Fix the PCI request region reserving.

2015-04-16 Thread John Soni Jose
Reserve device PCI I/O and Memory resources. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 22 ++ 1 files changed, 18 insertions(+), 4 deletions(-) diff --git

[PATCH 4/7] be2iscsi : Fix memory check before unmapping.

2015-04-16 Thread John Soni Jose
Check DMA memory before it is unmapped. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/scsi

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

2015-04-16 Thread John Soni Jose
Bump the driver version Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers

[PATCH 5/7] be2iscsi : Update the copyright year

2015-04-16 Thread John Soni Jose
Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be.h |2 +- drivers/scsi/be2iscsi/be_cmds.c |2 +- drivers/scsi/be2iscsi/be_cmds.h |2 +- drivers/scsi/be2iscsi/be_iscsi.c |2

[PATCH 1/7] be2iscsi : Fix the retry count for boot targets

2015-04-16 Thread John Soni Jose
Increment the retry count to get the boot target info when port async event is received by the driver. Update sysfs enteries with the boot target parameters. Signed-off-by: Minh Tran minhduc.t...@emulex.com Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan

[PATCH 6/7] be2iscsi: Logout of FW Boot Session

2015-04-16 Thread John Soni Jose
Once be2iscsi driver is loaded and operational close Boot session established by FW. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_cmds.h | 12 ++ drivers/scsi/be2iscsi/be_iscsi.c

[PATCH 0/7] be2iscsi driver update to 10.6.0.0

2015-04-16 Thread John Soni Jose
The patchset updates be2iscsi driver to 10.6.0.0 version. These patches are generated aganist scsi for-next branch John Soni Jose (7): be2iscsi : Fix the retry count for boot targets be2iscsi : Fix the PCI request region reserving. be2iscsi : Fix memory leak in the unload path be2iscsi

[PATCH] be2iscsi: Fix kernel panic when device initialization fails

2015-02-11 Thread John Soni Jose
Kernel panic was happening as iscsi_host_remove() was called on a host which was not yet added. Signed-off-by: John Soni Jose sony.joh...@emulex.com --- drivers/scsi/be2iscsi/be_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.c b

[PATCH V2 1/4] be2iscsi : Fix the retry count for boot targets

2014-12-19 Thread John Soni Jose
Increment the retry count to get the boot target info when port async event is received by the driver. Update sysfs enteries with the boot target parameters. Signed-off-by: Minh Tran minhduc.t...@emulex.com Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan

[PATCH V2 2/4] be2iscsi : Fix the PCI request region reserving.

2014-12-19 Thread John Soni Jose
Reserve the device PCI I/O and Memory resources. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 22 ++ 1 files changed, 18 insertions(+), 4 deletions(-) diff

[PATCH V2 0/4] be2iscsi driver update to 10.4.200.0

2014-12-19 Thread John Soni Jose
The patchset updates be2iscsi driver to 10.4.200.0. These patches are generated aganist the SCSI for-next branch. The changes suggested by Mike C is also done in this patch-set. Please ingnore the earlier sent patches. John Soni Jose (4): be2iscsi : Fix the retry count for boot

[PATCH V2 2/4] be2iscsi : Fix the PCI request region reserving.

2014-12-19 Thread John Soni Jose
Reserve the device PCI I/O and Memory resources. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 22 ++ 1 files changed, 18 insertions(+), 4 deletions(-) diff

[PATCH V2 3/4] be2iscsi : Fix memory leak in the unload path

2014-12-19 Thread John Soni Jose
Driver was not freeing the DMA memory allocated for EQ/CQ in the unload path. This patch frees the DMA memory during the driver unload. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c

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

2014-12-19 Thread John Soni Jose
Bump the driver version Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers

[PATCH 1/4] be2iscsi : Fix the retry count for boot targets

2014-12-16 Thread John Soni Jose
Increment the retry count to get the boot target info when port async event is received by the driver. Update sysfs enteries with the boot target parameters. Signed-off-by: Minh Tran minhduc.t...@emulex.com Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan

[PATCH 0/4] be2iscsi driver update to 10.4.200.0

2014-12-16 Thread John Soni Jose
The patchset updates be2iscsi driver to 10.4.200.0. These patches are generated aganist the SCSI for-next branch. John Soni Jose (4): be2iscsi : Fix the retry count for boot targets be2iscsi : Fix the PCI request region reserving. Reserve the device PCI I/O and Memory resources

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

2014-12-16 Thread John Soni Jose
Bump the driver version Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers

[PATCH 3/4] be2iscsi : Fix memory leak in the unload path

2014-12-16 Thread John Soni Jose
Driver was not freeing the DMA memory allocated for EQ/CQ in the unload path. This patch frees the DMA memory during the driver unload. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c

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

2014-09-26 Thread John Soni Jose
Bump the driver version Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers

[PATCH 1/2] be2iscsi : Fix kernel panic during reboot/shutdown

2014-09-26 Thread John Soni Jose
In the reboot/shutdown path, workqueue was destroyed after the adapter resource were freed. The task associated with workqueue was getting executed after resources were freed. This lead to kernel panic. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal

[PATCH 0/2] be2iscsi : Update to 10.4.114.0

2014-09-26 Thread John Soni Jose
This patchset updates be2iscsi driver to 10.4.114.0 These patches are based on for-next branch of scsi.git. John Soni Jose (2): be2iscsi : Fix kernel panic during reboot/shutdown be2iscsi : Bump the driver version drivers/scsi/be2iscsi/be_main.c |2 +- drivers/scsi/be2iscsi/be_main.h

[PATCH v2 01/19] be2iscsi: Fix the issue with soft reset.

2012-10-19 Thread John Soni Jose
From: Minh Tran minhduc.t...@emulex.com Fixed soft_reset problem which driver modified all 32bit before a write on second pass. Signed-off-by: Minh Tran minhduc.t...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_cmds.c |2 +- 1

[PATCH v2 02/19] be2iscsi: Display Completion Event string instead of Opcode

2012-10-19 Thread John Soni Jose
Display the event string along with the opcode and CID on which an event has occured. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_cmds.h |2 - drivers/scsi/be2iscsi/be_main.c | 88

[PATCH v2 03/19] be2iscsi: Fix memory leak in control path of driver

2012-10-19 Thread John Soni Jose
In contorl path of the driver the task was mapped using pci_map_single which was not unmapped when the completion for the task had come. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c

[PATCH v2 04/19] be2iscsi: Fix max supported EQ count to 8.

2012-10-19 Thread John Soni Jose
The maximum EQ that can be created for a function is 8. Check the CPU online count and create only 8 EQ if CPU_Count = 8 Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 23

[PATCH v2 05/19] be2iscsi: Display driver name and version in device attribute

2012-10-19 Thread John Soni Jose
Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c |2 ++ drivers/scsi/be2iscsi/be_mgmt.c | 16 drivers/scsi/be2iscsi/be_mgmt.h |3 +++ 3 files changed, 21 insertions

[PATCH v2 06/19] be2iscsi: Issue an FLR when driver is loaded

2012-10-19 Thread John Soni Jose
Issue Function Level Reset everytime driver is loaded. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 65 +++ 1 files changed, 18 insertions

[PATCH v2 07/19] be2iscsi: Fix kernel panic in blk_iopoll disable mode.

2012-10-19 Thread John Soni Jose
Kernel used to panic while running IO is disable mode, as there was an issue with getting the correct EQ on which completion has come. Fix done is create workqueue per hba and work item for each EQ created. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal

[PATCH v2 08/19] be2iscsi: Fix return value and typo.

2012-10-19 Thread John Soni Jose
Fix return value and typo in the message displayed. Fix the goto label when wrb_hanlde allocation fails. Fix the error message display in beiscsi_alloc_pdu Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi

[PATCH v2 09/19] be2iscsi: Fix driver support for an adapter.

2012-10-19 Thread John Soni Jose
Fix support for Skyhawk-R adapter by populating the pci_id_table Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be.h |2 +- drivers/scsi/be2iscsi/be_main.c |3 +++ drivers/scsi

[PATCH v2 10/19] be2iscsi: Fix max EQ supported by the driver.

2012-10-19 Thread John Soni Jose
Fix the max EQ created when driver is loaded. Max EQ for for new adapters will be 64. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 15 +-- drivers/scsi/be2iscsi

[PATCH v2 11/19] be2iscsi: Fix support for handling CQ_CREATE V2 version.

2012-10-19 Thread John Soni Jose
For latest adapters, V2 version of cq_create MBX_CMD is to be used. When driver is loaded depending on the adapter type appropriate cq_create command will be called. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com

[PATCH v2 12/19] be2iscsi: Fix support for V2 version of WRB.

2012-10-19 Thread John Soni Jose
Latest adapters use the V2 version of WRB. This fix checks for the adapter type and uses appropriate version of WRB. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 265

[PATCH v2 13/19] be2iscsi: Fix session update context with V2 version.

2012-10-19 Thread John Soni Jose
For updating session context on adapter, V2 version is to be used with teh latest adapter. This fix checks for the adapter type and uses correct version of session context. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com

[PATCH v2 14/19] be2iscsi: Fix Task Completion Event handling

2012-10-19 Thread John Soni Jose
The completion events returned by adapter differs based on the adapter. This fix checks for the adapter type and process the completion event. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi

[PATCH v2 15/19] be2iscsi: Fix issue of displaying adapter family.

2012-10-19 Thread John Soni Jose
Fix issue of displaying adapter family through the sysfs entry for each Scsi_Host created for the adapter. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c |2 ++ drivers/scsi/be2iscsi

[PATCH v2 16/19] be2iscsi: Fix the copyright information

2012-10-19 Thread John Soni Jose
Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be.h |2 +- drivers/scsi/be2iscsi/be_cmds.c |2 +- drivers/scsi/be2iscsi/be_cmds.h |2 +- drivers/scsi/be2iscsi/be_iscsi.c |2

[PATCH v2 17/19] be2iscsi: Fix for MBX timeout issue

2012-10-19 Thread John Soni Jose
The MBX timeout value set to 100 and if adapter doesn;t return response in that time driver will return from waiting for completion with an error to the caller. In the earlier code driver use to wait until MBX response comes from adapter. Signed-off-by: John Soni Jose sony.joh...@emulex.com

[PATCH v2 18/19] be2iscsi: Fix Unrecoverable Error Detection

2012-10-19 Thread John Soni Jose
Driver periodically checks adapter state,is up fine or not. Based on the value updates the internal structures of driver. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_cmds.c | 10

[PATCH v2 19/19] be2iscsi: Bump the driver version

2012-10-19 Thread John Soni Jose
Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h

[PATCH 00/17] Updates for the be2iscsi driver.

2012-09-28 Thread John Soni Jose
Patches to update the be2iscsi driver. These patches were generated against the scsi tree misc heads. Jayamohan Kallickal (1): be2iscsi: Fix the kernel panic in blkiopoll disable mode John Soni Jose (15): be2iscsi: Display Completion Event string instead of opcode be2iscsi: Fix memory

[PATCH 01/17] be2iscsi: Fix the issue with soft reset.

2012-09-28 Thread John Soni Jose
From: Minh Tran minhduc.t...@emulex.com Fixed soft_reset problem which driver modified all 32bit before a write on second pass. Signed-off-by: Minh Tran minhduc.t...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_cmds.c |2 +- 1

[PATCH 02/17] be2iscsi: Display Completion Event string instead of opcode

2012-09-28 Thread John Soni Jose
Display the event string along with the opcode and CID on which the event has occured. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_cmds.h |2 - drivers/scsi/be2iscsi/be_main.c | 88

[PATCH 03/17] be2iscsi: Fix memory leak in control path of driver

2012-09-28 Thread John Soni Jose
In contorl path of the driver the task was mapped using pci_map_single which was not unmapped when the completion for the task had come. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c

[PATCH 04/17] be2iscsi: Fix max supported EQ count to 8.

2012-09-28 Thread John Soni Jose
The maximum EQ that can be created for a function is 8. Check the CPU online count and create only 8 EQ if CPU_Count = 8 Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 23

[PATCH 05/17] be2iscsi: Display driver name and version in device attribute

2012-09-28 Thread John Soni Jose
Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c |2 ++ drivers/scsi/be2iscsi/be_mgmt.c | 16 drivers/scsi/be2iscsi/be_mgmt.h |3 +++ 3 files changed, 21 insertions

[PATCH 06/17] be2iscsi: Issue an FLR when driver is loaded.

2012-09-28 Thread John Soni Jose
Issue Function Level Reset everytime driver is loaded. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 39 --- 1 files changed, 12 insertions(+), 27

[PATCH 07/17] be2iscsi: Fix the kernel panic in blkiopoll disable mode

2012-09-28 Thread John Soni Jose
From: Jayamohan Kallickal jayamohan.kallic...@emulex.com Fix kernel panic issue while running IO in blk_iopoll disable mode. Creating UNBOUND WQ for each EQ in the driver. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com

[PATCH 09/17] be2iscsi: Fix support for Skyhawk Adapters

2012-09-28 Thread John Soni Jose
Fix support for Skyhawk adapter by populating the pci_id_table Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be.h |2 +- drivers/scsi/be2iscsi/be_main.c |3 +++ drivers/scsi/be2iscsi

[PATCH 10/17] be2iscsi: Fix max EQ supported by the driver.

2012-09-28 Thread John Soni Jose
Fix the max EQ created when driver is loaded. The max EQ for BE3 adapter will be 8 and for Skyhawk it will be 64. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 15

[PATCH 11/17] be2iscsi: Fix CQ create MBX CMD for Skyhawk.

2012-09-28 Thread John Soni Jose
Fix the CQ creation for Skyhawk by creating version V2 of the MBOX Cmd. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_cmds.c | 38 +++--- drivers/scsi/be2iscsi

[PATCH 12/17] be2iscsi: Fix WRB support for Skyhawk adapters.

2012-09-28 Thread John Soni Jose
Fix the latest WRB support for Skyhawk adapter by using V2 version. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 265 +-- drivers/scsi/be2iscsi

[PATCH 13/17] be2iscsi: Fix context update for session in Skyhawk.

2012-09-28 Thread John Soni Jose
Fix the context update of a session in Skyhawk using the V2 version. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_iscsi.c |8 ++ drivers/scsi/be2iscsi/be_main.c | 69

[PATCH 14/17] be2iscsi: Fix Task Completion Event handling for Skyhawk

2012-09-28 Thread John Soni Jose
Fix the Completion events returned by the FW for Skyhawk. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_cmds.h | 53 drivers/scsi/be2iscsi/be_main.c | 267

[PATCH 15/17] be2iscsi: Fix issue of displaying adapter family.

2012-09-28 Thread John Soni Jose
Fix the issue of displaying adapter family by creating new sys attribute. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c |2 ++ drivers/scsi/be2iscsi/be_mgmt.c | 38

[PATCH 16/17] be2iscsi: Fix the copyright information

2012-09-28 Thread John Soni Jose
Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be.h |2 +- drivers/scsi/be2iscsi/be_cmds.c |2 +- drivers/scsi/be2iscsi/be_cmds.h |2 +- drivers/scsi/be2iscsi/be_iscsi.c |2

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

2012-09-28 Thread John Soni Jose
Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h

[PATCH v2 0/7] be2iscsi: Updates for be2iscsi driver

2012-08-20 Thread John Soni Jose
Fixes done based on the review comments on previous submission. These patches were generated against the scsi tree scsi-misc branch. be2iscsi: Removing the iscsi_data_pdu setting. be2iscsi: Issue MBX Cmd for login to boot target in crashdump mode be2iscsi: Added Logging mechanism for

[PATCH v2 1/7] be2iscsi: Removing the iscsi_data_pdu setting.

2012-08-20 Thread John Soni Jose
The setting of iscsi_data_pdu is not required anymore, as this was required for BE1 adapters only. The BE1 adapter were not supported in any previous versions of the kernel. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com

[PATCH v2 2/7] be2iscsi: Issue MBX Cmd for login to boot target in crashdump mode

2012-08-20 Thread John Soni Jose
When the driver comes up in crashdump mode, it has to explicitly issue command to FW for logging to the boot target. This fix issues MBX Cmd to login to boot target in crashdump mode. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic

[PATCH v2 4/7] be2iscsi: Format the MAC_ADDR with sysfs_format_mac.

2012-08-20 Thread John Soni Jose
iface command was run. In case of iSCSI boot, since the the MAC_ADDR was coming junk the boot was also not working Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_iscsi.c |2 +- 1 files changed

[PATCH v2 5/7] be2iscsi: Add support for configuring the VLAN on the adapter.

2012-08-20 Thread John Soni Jose
Add support for configuring the VLAN parameters on the adapter using the iscsiadm interface. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_cmds.c | 42 + drivers/scsi

[PATCH v2 6/7] be2iscsi: Fix a kernel panic because of TCP RST/FIN received.

2012-08-20 Thread John Soni Jose
A TCP RST/FIN can be received even before the connection specific structures are initialized.This fix checks for the conn structure is intialized or not when RST/FIN is received. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic

[PATCH v2 7/7] be2iscsi: Bump the driver version.

2012-08-20 Thread John Soni Jose
Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h

[PATCH 0/7] Updates for be2iscsi driver

2012-08-13 Thread John Soni Jose
Patches to update the be2iscsi driver. These patches were generated against the scsi tree scsi-misc branch. Removing the iscsi_data_pdu setting. Issue MBX Cmd for login to boot target in crashdump mode Added Logging mechanism for the driver. Format the MAC_ADDR with sysfs_format_mac.

[PATCH 1/7] Removing the iscsi_data_pdu setting.

2012-08-13 Thread John Soni Jose
The setting of iscsi_data_pdu is not required anymore, as this was required for BE1 adapters only. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c | 12 1 files changed, 0

[PATCH 2/7] Issue MBX Cmd for login to boot target in crashdump mode

2012-08-13 Thread John Soni Jose
When the driver comes up in crashdump mode, it has to explicitly issue command to FW for logging to the boot target. This fix issues MBX Cmd to login to boot target in crashdump mode. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic

[PATCH 4/7] Format the MAC_ADDR with sysfs_format_mac.

2012-08-13 Thread John Soni Jose
iface command was run. In case of iSCSI boot, since the the MAC_ADDR was coming junk the boot was also not working Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_iscsi.c |2 +- 1 files changed

[PATCH 5/7] Add support for configuring the VLAN on the adapter.

2012-08-13 Thread John Soni Jose
Add support for configuring the VLAN parameters on the adapter using the iscsiadm interface. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_cmds.c | 43 + drivers/scsi

[PATCH 6/7] Fix a kernel panic because of TCP RST/FIN received.

2012-08-13 Thread John Soni Jose
A TCP RST/FIN can be received even before the connection specific structures are initialized.This fix checks for the conn structure is intialized or not when RST/FIN is received. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic

[PATCH 7/7] Bump the driver version.

2012-08-13 Thread John Soni Jose
Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h