summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/include
diff options
context:
space:
mode:
authorJing Huang <huangj@brocade.com>2010-07-08 19:55:41 -0700
committerJames Bottomley <James.Bottomley@suse.de>2010-07-27 12:04:16 -0500
commit4b5e759dca9fb26d921c1267283350004dbf197b (patch)
treeef814001eb92a30b79d5a828c0f056ed61e13b26 /drivers/scsi/bfa/include
parentdf2a52a6c8c4995e0bec0b739ddb2f51664837dd (diff)
downloadtalos-op-linux-4b5e759dca9fb26d921c1267283350004dbf197b.tar.gz
talos-op-linux-4b5e759dca9fb26d921c1267283350004dbf197b.zip
[SCSI] bfa: fix uf post and rport fcpim state machine
BFA UF module did not hold lock when seding uf post buffer message to firmware causing CPE-Q corruption. Fix is to check present of FCS and if FCS present hold lock while posting UF buffers. Handle PRLO with sending acc to it and relogin with rport. Discard fcxp before any state change. Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/include')
-rw-r--r--drivers/scsi/bfa/include/fcs/bfa_fcs_rport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/include/fcs/bfa_fcs_rport.h b/drivers/scsi/bfa/include/fcs/bfa_fcs_rport.h
index 702b95b76c2d..3027fc6c7722 100644
--- a/drivers/scsi/bfa/include/fcs/bfa_fcs_rport.h
+++ b/drivers/scsi/bfa/include/fcs/bfa_fcs_rport.h
@@ -58,6 +58,7 @@ struct bfa_fcs_rport_s {
u16 reply_oxid; /* OX_ID of inbound requests */
enum fc_cos fc_cos; /* FC classes of service supp */
bfa_boolean_t cisc; /* CISC capable device */
+ bfa_boolean_t prlo; /* processing prlo or LOGO */
wwn_t pwwn; /* port wwn of rport */
wwn_t nwwn; /* node wwn of rport */
struct bfa_rport_symname_s psym_name; /* port symbolic name */
OpenPOWER on IntegriCloud