[SCSI] libfcoe: Incorrect CVL handling for NPIV ports
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Mon, 16 May 2011 23:45:24 +0000 (16:45 -0700)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 24 May 2011 16:36:17 +0000 (12:36 -0400)
commitc051ad2e57e379e07e4ec28b2a54eeb0d04c5d59
treee210bbdc9319229f36988448b65139b698d132af
parent4f788dce0baf44295a8d9708d3f124587158c061
[SCSI] libfcoe: Incorrect CVL handling for NPIV ports

Host doesnt handle CVL to NPIV instantiated ports correctly.
- As per FC-BB-5 Rev 2 CVLs with no VN_Port descriptors shall be treated as
  implicit logout of ALL vn_ports.
- CVL for NPIV ports should be handled before physical port even if descriptor
  for physical port appears before NPIV ports

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
drivers/scsi/fcoe/fcoe_ctlr.c