[SCSI] bfa: FCS remote port enhancements.
authorKrishna Gudipati <kgudipat@brocade.com>
Thu, 23 Aug 2012 02:50:43 +0000 (19:50 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:56 +0000 (12:10 +0400)
commitee1a4a42f6198c2b6e7c9fba6a952d1f4f89d627
treeead7372ab22e9cf4734148b02f28a713f40c321d
parentebfe83921bd860e0b28a1a74e90be57baf2c8255
[SCSI] bfa: FCS remote port enhancements.

- Introduced rport qualifier structure and modified design to
  export remote ports with valid pid or valid pwwn to the user space.
- Introduced old_pid field in the rport structure and made changes to
  prevent re-creating a new remote port for an already existing rport
  that is transitioning to a delete state. (Happens if we receive a RSCN
  on the existing remote port that is getting deleted).

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfa_defs_fcs.h
drivers/scsi/bfa/bfa_fcs.h
drivers/scsi/bfa/bfa_fcs_lport.c
drivers/scsi/bfa/bfa_fcs_rport.c
drivers/scsi/bfa/bfad_attr.c
drivers/scsi/bfa/bfad_bsg.c
drivers/scsi/bfa/bfad_bsg.h