kernel-hacking-2024-linux-s.../include/scsi
Chris Leech 11b5618866 [SCSI] libfcoe, fcoe: libfcoe NPIV support
The FIP code in libfcoe needed several changes to support NPIV

1) dst_src_addr needs to be managed per-n_port-ID for FPMA fabrics with NPIV
   enabled.  Managing the MAC address is now handled in fcoe, with some slight
   changes to update_mac() and a new get_src_addr() function pointer.

2) The libfc elsct_send() hook is used to setup FCoE specific response
   handlers for FIP encapsulated ELS exchanges.  This lets the FCoE specific
   handling know which VN_Port the exchange is for, and doesn't require
   tracking OX_IDs.  It might be possible to roll back to the full FIP frame
   in these, but for now I've just stashed the contents of the MAC address
   descriptor in the skb context block for later use.  Also, because
   fcoe_elsct_send() just passes control on to fc_elsct_send(), all transmits
   still come through the normal frame_send() path.

3) The NPIV changes added a mutex hold in the keep alive sending, the lport
   mutex is protecting the vport list.  We can't take a mutex from a timer,
   so move the FIP keep alive logic to the link work struct.

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:58 -06:00
..
fc [SCSI] libfc, libfcoe: FDISC ELS for NPIV 2009-12-04 12:00:57 -06:00
fc_encode.h [SCSI] libfc, libfcoe: FDISC ELS for NPIV 2009-12-04 12:00:57 -06:00
fc_frame.h [SCSI] libfcoe, fcoe: libfcoe NPIV support 2009-12-04 12:00:58 -06:00
iscsi_if.h [SCSI] iscsi_tcp: add new conn error to indicate tcp conn closed 2009-09-05 09:42:47 -05:00
iscsi_proto.h
Kbuild [SCSI] FC Pass Thru support 2009-06-12 14:20:05 -05:00
libfc.h [SCSI] libfcoe, fcoe: libfcoe NPIV support 2009-12-04 12:00:58 -06:00
libfcoe.h [SCSI] libfcoe, fcoe: libfcoe NPIV support 2009-12-04 12:00:58 -06:00
libiscsi.h [SCSI] modify change_queue_depth to take in reason why it is being called 2009-12-04 12:00:41 -06:00
libiscsi_tcp.h
libsas.h [SCSI] modify change_queue_depth to take in reason why it is being called 2009-12-04 12:00:41 -06:00
libsrp.h
osd_attributes.h [SCSI] libosd: OSD2r05: Attribute definitions 2009-06-10 08:54:07 -05:00
osd_initiator.h [SCSI] osduld: use filp_open() when looking up an osd-device 2009-06-10 09:00:25 -05:00
osd_protocol.h [SCSI] libosd: OSD2r05: Additional command enums 2009-06-10 08:54:04 -05:00
osd_sec.h
osd_sense.h
osd_types.h
sas.h
sas_ata.h
scsi.h [SCSI] scsi: Add missing command definitions 2009-12-04 12:00:15 -06:00
scsi_bsg_fc.h [SCSI] FC Pass Thru support 2009-06-12 14:20:05 -05:00
scsi_cmnd.h [SCSI] Deprecate SCSI_PROT_*_CONVERT operations 2009-10-02 09:46:25 -05:00
scsi_dbg.h
scsi_device.h [SCSI] scsi_dh: Change the scsidh_activate interface to be asynchronous 2009-12-04 12:00:46 -06:00
scsi_devinfo.h
scsi_dh.h [SCSI] scsi_dh: Change the scsidh_activate interface to be asynchronous 2009-12-04 12:00:46 -06:00
scsi_driver.h sd, sr: fix Driver 'sd' needs updating message 2009-06-21 12:01:27 -05:00
scsi_eh.h
scsi_host.h [SCSI] modify change_queue_depth to take in reason why it is being called 2009-12-04 12:00:41 -06:00
scsi_ioctl.h
scsi_netlink.h
scsi_netlink_fc.h
scsi_scan.h
scsi_tcq.h
scsi_tgt.h
scsi_tgt_if.h
scsi_transport.h
scsi_transport_fc.h [SCSI] scsi_transport_fc: Introduce helper function for blocking scsi_eh 2009-12-04 12:00:52 -06:00
scsi_transport_iscsi.h [SCSI] iscsi class: Add new NETLINK_ISCSI messages for cnic/bnx2i driver. 2009-06-09 10:22:35 -05:00
scsi_transport_sas.h
scsi_transport_spi.h [SCSI] aic79xx: make driver respect nvram for IU and QAS settings 2009-06-15 10:09:35 -05:00
scsi_transport_srp.h
scsicam.h
sg.h
srp.h