Hi James
These patches contains updates for the be2iscsi driver
cut against scsi.git, branch "misc"
This set of patches fixes the issue MikeC commented on.
This patchset consolidates earlier patchset submitted on 11 Mar
along with a reentrancy issue fix from Shlomo Pongratz
Also, there are t
Command Window value from the CQE was used to calculate the
max_cmdsn for that session.The command window value extracted
for SKH-R adapter was not proper. The value was extracted from
BE adapter completion event. Fixed the issue by getting the
cmd_wnd value from SKH-R CQE.
The exp_cmdsn and
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..2c06
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/be_iscsi
From: Shlomo Pongratz
The driver creates "NAPI" context per core which is fine,
however the above routine declares the ret variable as static!
Thus there is only one instance of this variable!
When this routine is called from more than one thread of execution,
than the result is unpredictabl
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/dr
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/be
When target send a NOP-IN with valid TTT, driver issues a NOP-OUT
and the task was not freed from driver. The task list available for
the session used to run out, and as no more task list were available
no more iSCSI commands were exchanged on that session.
This patches fixed the issue, by cal
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/
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 delet
The mgmt_hba_attributes structure declared was not proper and
because of that the FW response returned for the MBX_CMD was not
matching. This issue went unnoticed as mgmt_hba_attribs structure
members were never used in the code path.
This fix of displaying the FW version had to change the mg
This patch fixes the displaying of number of active
sessions in use.
Signed-off-by: John Soni Jose
Signed-off-by: Jayamohan Kallickal
---
drivers/scsi/be2iscsi/be_main.c |2 ++
drivers/scsi/be2iscsi/be_mgmt.c | 20
drivers/scsi/be2iscsi/be_mgmt.h |3 +++
3 files c
Fix support for DEFQ extension which will be used by latest
adapters
Signed-off-by: John Soni Jose
Signed-off-by: Jayamohan Kallickal
---
drivers/scsi/be2iscsi/be_cmds.c | 42 +--
drivers/scsi/be2iscsi/be_cmds.h | 14 -
2 files changed, 44 i
Free CXN specific resource held by driver when login redirection
or connection retry happens. Login redirection was failing
because WRB/SGL were not allocated from the CID on which
doorbell was rung.
Fixed the issue raised by MikeC
Signed-off-by: John Soni Jose
Signed-off-by: Jayamohan Kalli
Fixed the code flow based on the MACRO defined to check for
adapter.
Signed-off-by: John Soni Jose
Signed-off-by: Jayamohan Kallickal
---
drivers/scsi/be2iscsi/be_cmds.c | 28 -
drivers/scsi/be2iscsi/be_main.c | 123 ---
drivers/scsi/be2iscsi/be_
This patch limits the max number of msix vectors to 32.
Signed-off-by: John Soni Jose
Signed-off-by: Jayamohan Kallickal
---
drivers/scsi/be2iscsi/be_main.c |1 +
drivers/scsi/be2iscsi/be_main.h |2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/be2iscsi/b
- Check Ready Bit before posting the BMBX Hi Address
- Fix the parameters passed to beiscsi_mccq_compl
in beiscsi_open_conn()
- Fix tag value check in beiscsi_ep_connect.
Signed-off-by: John Soni Jose
Signed-off-by: Jayamohan Kallickal
---
drivers/scsi/be2iscsi/be_cmds.c | 10 +
When MBX command fails with insufficent buffer, check for the
response lenght returned. Return success if response length
is non-zero value which indicates valid data.
Signed-off-by: Minh Tran
Signed-off-by: John Soni Jose
Signed-off-by: Jayamohan Kallickal
---
drivers/scsi/be2iscsi/be_cmds
This patch sends uninitialize pattern to FW during driver unload
which is expected by FW for cleanup
Signed-off-by: John Soni Jose
Signed-off-by: Jayamohan Kallickal
---
drivers/scsi/be2iscsi/be_cmds.c | 51 +++
drivers/scsi/be2iscsi/be_cmds.h |1 +
dri
On Fri, Apr 05, 2013 at 12:17:54PM +0530, Vijay Chauhan wrote:
> Hi,
>
> I am new to Linux Device Driver and reading LDD3.
>
> It mentions that the disadvantage of dynamic major number allocation
> is that you can’t create the device nodes in
> advance, because the major number assigned to your m
On Thu, 4 Apr 2013, Laurence Oberman wrote:
> I can test it. I have a clarion Cx3
> Will get to it next week, traveling tomorrow
> Laurence
>
> Sent from my iPhone
OK.
So, enable most debug options in kernel configuration and try the patch.
Mikulas
> On Apr 4, 2013, at 7:11 PM, Mike Christi
On 4/4/2013 6:17 AM, Hannes Reinecke wrote:
On 03/31/2013 07:44 PM, Tomas Henzl wrote:
What we can do is to decode the LUN and compare it to max_lun provided by the
driver,
I think that sg_luns is able to do that, so what is needed is just to follow
the SAM.
I have seen reports of problem on
I understand your points. But you will need to contact the different LLD
maintainers to ensure receiving a devloss_tmo_callbk() on an rport they
had not called fc_remote_port_delete() for. I know there's work on my
side to validate it's ok. First glance was ok, but..
-- james s
On 4/4/2013
On Thu, 2013-02-14 at 11:36 -0500, Ewan D. Milne wrote:
> From: "Ewan D. Milne"
>
> init_sd() was returning 0 if sd_cdb_cache or sd_cdb_pool could
> not be allocated. Return -ENOMEM instead, since the sd_disk_class
> and the blkdevs will be unregistered if this happens.
>
> Signed-off-by: Ewan
From: Vikas Chaudhary
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/qla4xxx/ql4_version.h
b/drivers/scsi/qla4xxx/ql4_version.h
index 18ad425..83e0fec 100644
--- a/drivers/scsi/qla4xxx/ql4_v
From: Adheer Chandravanshi
Use correct flash ddb offset to add and delete flash target
entries for ISP40XX
Signed-off-by: Adheer Chandravanshi
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_mbx.c | 7 --
drivers/scsi/qla4xxx/ql4_os.c | 57 ---
From: Adheer Chandravanshi
Use correct value for max flash node entries supported
based on adapter type.
Signed-off-by: Adheer Chandravanshi
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_os.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/ql
From: Vikas Chaudhary
Added print statements for following AENs:
1. MBOX_ASTS_INITIALIZATION_FAILED
2. MBOX_ASTS_SYSTEM_WARNING_EVENT
3. MBOX_ASTS_DCBX_CONF_CHANGE
4. MBOX_ASTS_IPV6_DEFAULT_ROUTER_CHANGED
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_fw.h | 4
drivers/scsi
From: Adheer Chandravanshi
Signed-off-by: Adheer Chandravanshi
Signed-off-by: Vikas Chaudhary
---
drivers/scsi/qla4xxx/ql4_os.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 5f7a2bc..f82efcb 100644
--- a/drivers/
From: Vikas Chaudhary
James,
Please apply the following patches to the scsi tree at your earliest
convenience.
Adheer Chandravanshi (3):
qla4xxx: Use correct flash ddb offset for ISP40XX
qla4xxx: Restrict logout from boot target session using session id
qla4xxx: Use correct v
On 03/28/2013 10:22 AM, Wanlong Gao wrote:
> On 03/23/2013 07:28 PM, Wanlong Gao wrote:
>> This series implements virtio-scsi queue steering, which gives
>> performance improvements of up to 50% (measured both with QEMU and
>> tcm_vhost backends).
>>
>> This version rebased on Rusty's virtio ring r
31 matches
Mail list logo