bnx2i with gentoo and dell md3000i

2010-11-23 Thread Sebastian Schwardt
Hi, I tried to get the integrated offline engine on a Broadcom NetXtreme II BCM5709 working and I have some questions. a) Does it work in general with a recent Kernel (2.6.34) and a recent version and open-iscsi (2.0.871) without using RPMs provided by Broadcom? I found an old email

Re: bnx2i with gentoo and dell md3000i

2010-11-23 Thread Mike Christie
On 11/22/2010 01:07 PM, Sebastian Schwardt wrote: Hi, I tried to get the integrated offline engine on a Broadcom NetXtreme II BCM5709 working and I have some questions. a) Does it work in general with a recent Kernel (2.6.34) and a recent version and open-iscsi (2.0.871) without using

[PATCH v3 11/13] BNX2I: Cleaned up various error conditions in ep_connect/disconnect

2010-11-23 Thread Eddie Wai
Various error conditions inside ep_connect and ep_disconnect were either not being handled or not being handled correctly. This patch fixes all those issues. Signed-off-by: Eddie Wai eddie@broadcom.com Acked-by: Anil Veerabhadrappa ani...@broadcom.com --- drivers/scsi/bnx2i/bnx2i_iscsi.c |

[PATCH v3 10/13] BNX2I: Added return code check for chip kwqe submission request

2010-11-23 Thread Eddie Wai
Added the handling for cases when a chip request is made to the CNIC module but the hardware is not ready to accept. This would lead to many unnecessary wait timeouts. This code adds check in the connect establishment and destruction path. Signed-off-by: Eddie Wai eddie@broadcom.com ---

[PATCH v3 13/13] BNX2I: Updated version to 2.6.2.2

2010-11-23 Thread Eddie Wai
Signed-off-by: Eddie Wai eddie@broadcom.com --- drivers/scsi/bnx2i/bnx2i_init.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/bnx2i/bnx2i_init.c b/drivers/scsi/bnx2i/bnx2i_init.c index 131ef80..72a7b2d 100644 --- a/drivers/scsi/bnx2i/bnx2i_init.c +++

[PATCH v3 08/13] BNX2I: Removed the dynamic registration of CNIC

2010-11-23 Thread Eddie Wai
The code no longer needs to dynamically register and unregister the CNIC device. The CNIC device will be kept registered until module unload. Signed-off-by: Eddie Wai eddie@broadcom.com Reviewed-by: Michael Chan mc...@broadcom.com --- drivers/scsi/bnx2i/bnx2i.h |3 -

[PATCH v3 04/13] BNX2I: Fixed a cid leak issue for 5771X (10g)

2010-11-23 Thread Eddie Wai
A cid leak issue was found when the connect destroy request exceeded the driver's disconnection timeout. This will lead to a cid resource leak issue. The fix is to allow the cid cleanup even when this happens. Signed-off-by: Eddie Wai eddie@broadcom.com Acked-by: Anil Veerabhadrappa

[PATCH v3 03/13] BNX2I: Fixed the endian bug in the TMF LUN cmd send

2010-11-23 Thread Eddie Wai
Added a be32_to_cpu call for the TMF LUN wqe. Signed-off-by: Eddie Wai eddie@broadcom.com --- drivers/scsi/bnx2i/bnx2i_hwi.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/bnx2i/bnx2i_hwi.c b/drivers/scsi/bnx2i/bnx2i_hwi.c index 32cf930..c9a3c0f

PATCH 00/13] BNX2I: Patch set to fix various bug fixes

2010-11-23 Thread Eddie Wai
Hello, This patch set contains various bug fixes as categorized in the following: - scsi command handling (nop-ins, tmfs) - various connection clean up bug fixes In v3, the following patches are updated: BNX2I: Fixed the remote TCP RST handling for the 570X (1g) In v2, the following patches

[PATCH v3 06/13] BNX2I: Allow to abort the connection if connect request times out

2010-11-23 Thread Eddie Wai
In the situation where the connect completion response arrives after the connect request has already timed out, the connection was not being aborted but only the resource was being freed. This creates a problem for 5771X (10g) as the chip flags this with an assertion. This change will properly

[PATCH v3 07/13] BNX2I: Added mutex lock protection to conn_get_param

2010-11-23 Thread Eddie Wai
Added net_dev mutex lock protection before accessing the csk parameters. Signed-off-by: Eddie Wai eddie@broadcom.com Reviewed-by: Benjamin Li be...@broadcom.com --- drivers/scsi/bnx2i/bnx2i_iscsi.c | 13 ++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git

[PATCH v3 09/13] BNX2I: Modified the bnx2i stop path to compensate for in progress ops

2010-11-23 Thread Eddie Wai
The stop path has been augmented to wait a max of 10s for all in progress offload and destroy activities to complete before proceeding to terminate all active connections (via iscsid or forcefully). Note that any new offload and destroy requests are now blocked and return to the caller

[PATCH v3 05/13] BNX2I: Fixed the remote TCP RST handling for the 570X (1g)

2010-11-23 Thread Eddie Wai
Modified the handling of the remote TCP RST code so the chip can now flush the tx pipe accordingly upon a remote TCP RST reception. Signed-off-by: Eddie Wai eddie@broadcom.com --- drivers/scsi/bnx2i/bnx2i_hwi.c |8 ++-- drivers/scsi/bnx2i/bnx2i_iscsi.c |8 +++- 2 files

[PATCH v3 02/13] BNX2I: Added fix for NOP-Out response panic from unsolicited NOP-In

2010-11-23 Thread Eddie Wai
The patch fixes the following situations where NOP-Out pkt is called for: - local unsolicited NOP-Out requests (requesting no NOP-In response) - local NOP-Out responses to unsolicited NOP-In requests kernel panic is observed due to double session spin_lock requests; one in the

[PATCH v3 12/13] BNX2I: Updated copyright and maintainer info

2010-11-23 Thread Eddie Wai
Signed-off-by: Eddie Wai eddie@broadcom.com --- drivers/scsi/bnx2i/57xx_iscsi_constants.h |3 ++- drivers/scsi/bnx2i/57xx_iscsi_hsi.h |3 ++- drivers/scsi/bnx2i/bnx2i.h|3 ++- drivers/scsi/bnx2i/bnx2i_hwi.c|3 ++-

Re: PATCH 00/13] BNX2I: Patch set to fix various bug fixes

2010-11-23 Thread Mike Christie
On 11/23/2010 05:29 PM, Eddie Wai wrote: Hello, This patch set contains various bug fixes as categorized in the following: - scsi command handling (nop-ins, tmfs) - various connection clean up bug fixes In v3, the following patches are updated: BNX2I: Fixed the remote TCP RST handling for