[SCSI] bfa: LUN discovery issue in direct attach mode
authorVijaya Mohan Guvva <vmohan@brocade.com>
Thu, 21 Nov 2013 09:37:45 +0000 (01:37 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 19 Dec 2013 15:39:05 +0000 (07:39 -0800)
commit9781851f47a7fba2013f879f13cfdadfcdc879dc
tree74f6a828fe2d92f27033772e8808f1eb4477a761
parentda3e0bee18f7f36a63537219e18a03557a21a41b
[SCSI] bfa: LUN discovery issue in direct attach mode

In direct attach mode, if port features like QoS/Trunk/FEC/CR are
enabled, driver can receive PLOGI from the target before firmware
notifies lport online to the driver. In case the lport is not yet online
and a PLOGI is received, send a reject to the peer port, instead of
dropping it on the floor.

Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfa_fcs_lport.c