dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/scsi/libfc
Joe Eykholt 3ac6f98f41 [SCSI] libfc: correctly handle incoming PLOGI request.
libfc receives PLOGIs from switches which are trying to discover what
kind of devices are present, and from other initiators to find out
if we're a target.

As an initiator, some argue we don't need to handle incoming PLOGI
requests, and we currently reject them from unknown remote ports,
but accept them is we're in the middle of a PLOGI to the remote port.

For eventual target implementations, we want to handle them always.

For incoming PLOGI, don't fail if the rport_priv doesn't exist.
Just create it and go become READY without going through PRLI.  If
PRLI occurs, then our roles will be set and we'll become READY again.

Also, allow incoming PRLI in RTV state.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-09-10 12:08:00 -05:00
..
Makefile [SCSI] libfc: A modular Fibre Channel library 2008-12-29 11:24:33 -06:00
fc_disc.c [SCSI] libfc: Initialize fc_rport_identifiers inside fc_rport_create 2009-09-10 12:07:57 -05:00
fc_elsct.c [SCSI] libfc: improve debug messages for ELS response handlers 2009-09-10 12:07:59 -05:00
fc_exch.c [SCSI] fcoe, libfc: fully makes use of per cpu exch pool and then removes em_lock 2009-09-05 09:47:37 -05:00
fc_fcp.c [SCSI] libfc: change elsct to use FC_ID instead of rdata 2009-09-10 12:07:41 -05:00
fc_frame.c [SCSI] libfc: A modular Fibre Channel library 2008-12-29 11:24:33 -06:00
fc_lport.c [SCSI] libfc: improve debug messages for ELS response handlers 2009-09-10 12:07:59 -05:00
fc_rport.c [SCSI] libfc: correctly handle incoming PLOGI request. 2009-09-10 12:08:00 -05:00