kernel_optimize_test/drivers/scsi/libfc
Chris Leech 8faecddb21 [SCSI] libfc: vport link handling and fc_vport state managment
NPIV vports are managed in libfc by changing their virtual link state
when the parent N_Ports internal state changes.  The vport link is only
online when the N_Port is in a ready state (logged into the fabric).

vport_state is updated as needed in this patch as well, currently the states
LINKDOWN, INITIALIZING, ACTIVE, DSIABLED, and NO_FABRIC_SUPP are used.

This also changes the fc_host port_state handling to differentiate between
LINKDOWN and OFFLINE.

Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-12-04 12:00:57 -06:00
..
fc_disc.c [SCSI] libfc: Add libfc/fc_libfc.[ch] for libfc internal routines 2009-12-04 12:00:55 -06:00
fc_elsct.c [SCSI] libfc: fix memory corruption caused by double frees and bad error handling 2009-12-04 12:00:34 -06:00
fc_exch.c [SCSI] libfc: add some generic NPIV support routines to libfc 2009-12-04 12:00:56 -06:00
fc_fcp.c [SCSI] libfc: Move libfc_init and libfc_exit to fc_libfc.c 2009-12-04 12:00:55 -06:00
fc_frame.c [SCSI] libfc, fcoe: Don't EXPORT_SYMBOLS unnecessarily 2009-12-04 12:00:24 -06:00
fc_libfc.c [SCSI] libfc: Move libfc_init and libfc_exit to fc_libfc.c 2009-12-04 12:00:55 -06:00
fc_libfc.h [SCSI] libfc: Move libfc_init and libfc_exit to fc_libfc.c 2009-12-04 12:00:55 -06:00
fc_lport.c [SCSI] libfc: vport link handling and fc_vport state managment 2009-12-04 12:00:57 -06:00
fc_npiv.c [SCSI] libfc: vport link handling and fc_vport state managment 2009-12-04 12:00:57 -06:00
fc_rport.c [SCSI] libfc: Add libfc/fc_libfc.[ch] for libfc internal routines 2009-12-04 12:00:55 -06:00
Makefile [SCSI] libfc: add some generic NPIV support routines to libfc 2009-12-04 12:00:56 -06:00