The following series makes changes to libfc and libfcoe to provide FIP support for the fnic driver. The patch to the fnic driver will be sent separately.
The fnic firmware may not support FIP, so a mode is added to libfcoe to run solely in non-FIP mode. The FIP debug messages are improved to include the host number, to distinguish between different device instances. The FIP receive handling is changed to allow the fnic driver to queue frames to it directly from the ISR level. This just changes the locks from _bh locks to _irq locks, which are provided internally by the skb layer. A bug fix changes the way link is reported to libfc to always report the physical link, and not to report link down when the FCF times out or we get a Link Reset message. A somewhat-related bug fix to libfc stops it from doing a WARN_ON when getting a FLOGI timeout response in RESET state. Finally, add a notification hook the LLD can use to get notified when the FC-ID is assigned. This eliminates the need to intercept the ELS send and response functions, which we were going to have to either duplicate in fnic, or re-engineer to put in libfcoe. The callback will be a better method to handle point-to-point mode eventually. fcoe.ko could be modified to use this callback as well later. --- Joe Eykholt (6): libfc: notify LLD when an FC_ID is assigned to the local port. libfc: don't WARN_ON in lport_timeout for RESET state libfcoe: FIP should report link to libfc whether selected or not libfcoe: fip: allow FIP receive to be called from IRQ. libfcoe: fip: use SCSI host number to identify debug messages. libfcoe: Allow FIP to be disabled by the driver drivers/scsi/fcoe/libfcoe.c | 128 +++++++++++++++++++++-------------------- drivers/scsi/libfc/fc_lport.c | 16 +++++ include/scsi/libfc.h | 17 +++++ include/scsi/libfcoe.h | 4 + 4 files changed, 100 insertions(+), 65 deletions(-) -- Joe _______________________________________________ devel mailing list devel@open-fcoe.org http://www.open-fcoe.org/mailman/listinfo/devel