]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bnx2i: Added return code check for chip kwqe submission request
authorEddie Wai <eddie.wai@broadcom.com>
Tue, 23 Nov 2010 23:29:29 +0000 (15:29 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:14 +0000 (12:24 -0600)
commit01c27907d4a3db2e0ecc855f156b70108a6976f1
treea25e1730b3652b47963176778c4c67f184fd6c3e
parentc065e3ae86d3a932e32c9aa397e10d3142f6af4d
[SCSI] bnx2i: Added return code check for chip kwqe submission request

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.wai@broadcom.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bnx2i/bnx2i.h
drivers/scsi/bnx2i/bnx2i_hwi.c
drivers/scsi/bnx2i/bnx2i_iscsi.c