Skip to content

libfc, libfcoe, fcoe and fnic updates for 2.6.33

Robert Love linux-scsi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest54 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/54fnic: Allocate OS interrupt resources just before enabling interruptsdrivers/scsi/fnic/fnic_main.c+10 -110 replies
2/54fcoe: Increase FCOE_MAX_LUN to 0xFFFF (65535)drivers/scsi/fcoe/fcoe.h+1 -10 replies
3/54libfc: Move non-common routines and prototypes out of libfc.hdrivers/scsi/libfc/fc_exch.c include/scsi/libfc.h+177 -2010 replies
4/54libfc: Remove fc_fcp_completedrivers/scsi/libfc/fc_fcp.c include/scsi/libfc.h+0 -250 replies
5/54libfc: Add libfc/fc_libfc.[ch] for libfc internal routinesdrivers/scsi/libfc/Makefile drivers/scsi/libfc/fc_disc.c drivers/scsi/libfc/fc_exch.c +6 more+147 -860 replies
6/54libfc: Move libfc_init and libfc_exit to fc_libfc.cdrivers/scsi/libfc/fc_fcp.c drivers/scsi/libfc/fc_libfc.c drivers/scsi/libfc/fc_libfc.h+64 -400 replies
7/54libfc: changes to libfc_host_alloc to consolidate initialization with allocationdrivers/scsi/fcoe/fcoe.c drivers/scsi/fnic/fnic_main.c drivers/scsi/libfc/fc_lport.c +1 more+19 -150 replies
8/54libfc: add some generic NPIV support routines to libfcdrivers/scsi/libfc/Makefile drivers/scsi/libfc/fc_exch.c drivers/scsi/libfc/fc_npiv.c +1 more+137 -10 replies
9/54libfc: vport link handling and fc_vport state managmentdrivers/scsi/libfc/fc_lport.c drivers/scsi/libfc/fc_npiv.c include/scsi/libfc.h+140 -150 replies
10/54libfc, libfcoe: FDISC ELS for NPIVdrivers/scsi/fcoe/libfcoe.c drivers/scsi/libfc/fc_lport.c include/scsi/fc/fc_els.h +1 more+40 -50 replies
11/54libfcoe, fcoe: libfcoe NPIV supportdrivers/scsi/fcoe/fcoe.c drivers/scsi/fcoe/fcoe.h drivers/scsi/fcoe/libfcoe.c +5 more+207 -600 replies
12/54fcoe: add a separate scsi transport template for NPIV vportsdrivers/scsi/fcoe/fcoe.c+47 -70 replies
13/54fcoe: NPIV vport create/destroydrivers/scsi/fcoe/fcoe.c+139 -230 replies
14/54libfc: RPN_ID is obsolete and unnecessarydrivers/scsi/libfc/fc_lport.c include/scsi/libfc.h+3 -930 replies
15/54libfc: RNN_ID may be required before RSNN_NN with some switchesdrivers/scsi/libfc/fc_lport.c include/scsi/fc_encode.h include/scsi/libfc.h+93 -30 replies
16/54libfc: Register Symbolic Node Name (RSNN_NN)drivers/scsi/fcoe/fcoe.c drivers/scsi/libfc/fc_lport.c include/scsi/fc/fc_ns.h +2 more+115 -30 replies
17/54libfc: Register Symbolic Port Name (RSPN_ID)drivers/scsi/libfc/fc_lport.c include/scsi/fc/fc_ns.h include/scsi/fc_encode.h +1 more+112 -00 replies
18/54libfc: combine name server registration response handlersdrivers/scsi/libfc/fc_lport.c+30 -1750 replies
19/54libfc: combine name server registration request functionsdrivers/scsi/libfc/fc_lport.c+42 -1220 replies
20/54fcoe: vport symbolic name supportdrivers/scsi/fcoe/fcoe.c drivers/scsi/libfc/fc_frame.c+34 -00 replies
21/54libfc: Export FC headersinclude/scsi/Kbuild include/scsi/fc/Kbuild include/scsi/fc/fc_els.h +3 more+13 -00 replies
22/54libfc: Add routine to copy data from a buffer to a SG listdrivers/scsi/libfc/fc_fcp.c drivers/scsi/libfc/fc_libfc.c drivers/scsi/libfc/fc_libfc.h+78 -460 replies
23/54libfc, fcoe: Add FC passthrough supportdrivers/scsi/fcoe/fcoe.c drivers/scsi/libfc/fc_lport.c include/scsi/libfc.h+278 -00 replies
24/54libfc: Formatting cleanups across libfcdrivers/scsi/libfc/fc_disc.c drivers/scsi/libfc/fc_elsct.c drivers/scsi/libfc/fc_exch.c +6 more+1624 -12550 replies
25/54libfcoe: formatting and comment cleanupsdrivers/scsi/fcoe/libfcoe.c include/scsi/libfcoe.h+153 -1470 replies
26/54fcoe: Formatting cleanups and commentingdrivers/scsi/fcoe/fcoe.c drivers/scsi/fcoe/fcoe.h+441 -3560 replies
27/54fcoe, libfc: use single frame allocation APIdrivers/scsi/libfc/fc_fcp.c drivers/scsi/libfc/fc_frame.c include/scsi/fc_frame.h+10 -270 replies
28/54libfc: reduce can_queue for all FCP frame allocation failuresdrivers/scsi/libfc/fc_fcp.c+59 -430 replies
29/54libfc: adds can_queue ramp updrivers/scsi/libfc/fc_fcp.c+59 -190 replies
30/54libfcoe: Allow FIP to be disabled by the driverdrivers/scsi/fcoe/libfcoe.c include/scsi/libfcoe.h+6 -20 replies
31/54libfcoe: fip: use SCSI host number to identify debug messages.drivers/scsi/fcoe/libfcoe.c+26 -210 replies
32/54libfcoe: fip: allow FIP receive to be called from IRQ.drivers/scsi/fcoe/libfcoe.c+4 -130 replies
33/54libfcoe: FIP should report link to libfc whether selected or notdrivers/scsi/fcoe/libfcoe.c include/scsi/libfcoe.h+31 -300 replies
34/54libfcoe: don't send ELS in FIP mode if no FCF selecteddrivers/scsi/fcoe/libfcoe.c+2 -00 replies
35/54fcoe: remove extra function decalrationsdrivers/scsi/fcoe/fcoe.c+0 -30 replies
36/54fcoe: add check to fail gracefully in bonding modedrivers/scsi/fcoe/fcoe.c+9 -10 replies
37/54libfc: fix RNN_ID smashing skb payloadinclude/scsi/fc_encode.h+0 -10 replies
38/54libfc: fix symbolic name registrations smashing skb datainclude/scsi/fc_encode.h+9 -80 replies
39/54libfc: fix fc_els_resp_type to correct display of CT responsesdrivers/scsi/libfc/fc_elsct.c+35 -60 replies
40/54libfc: add set_fid function to libfc templatedrivers/scsi/libfc/fc_lport.c include/scsi/libfc.h+47 -70 replies
41/54libfc: add host number to lport link up/down messages.drivers/scsi/libfc/fc_lport.c+14 -100 replies
42/54libfcoe: fcoe: simplify receive FLOGI responsedrivers/scsi/fcoe/fcoe.c drivers/scsi/fcoe/libfcoe.c include/scsi/libfcoe.h+12 -170 replies
43/54fnic: Add FIP support to the fnic driverdrivers/scsi/Kconfig drivers/scsi/fnic/fnic.h drivers/scsi/fnic/fnic_fcs.c +5 more+382 -3420 replies
44/54libfc: register FC4 features with the FC switchdrivers/scsi/libfc/fc_lport.c include/scsi/fc/fc_fcp.h include/scsi/fc/fc_ns.h +2 more+43 -20 replies
45/54fnic: enable bsg pass-thru for fcpingdrivers/scsi/fnic/fnic_main.c+1 -00 replies
46/54fcoe: Fix checking san mac addressdrivers/scsi/fcoe/fcoe.c+1 -10 replies
47/54fcoe: Fix getting san mac for VLAN interfacedrivers/scsi/fcoe/fcoe.c+4 -10 replies
48/54fcoe: Fix setting lport's WWNN/WWPN to use san mac addressdrivers/scsi/fcoe/fcoe.c+2 -20 replies
49/54libfc: do not use DID_NO_CONNECT for pkt alloc failures.drivers/scsi/libfc/fc_fcp.c+0 -10 replies
50/54fcoe: Fix using VLAN ID in creating lport's WWWN/WWPNdrivers/scsi/fcoe/fcoe.c+9 -20 replies
51/54libfc, fcoe: fixes for highmem skb linearize panicsdrivers/scsi/fcoe/fcoe.c drivers/scsi/libfc/fc_fcp.c drivers/scsi/libfc/fc_frame.c+16 -140 replies
52/54libfc: fix an issue of pending exch/es after i/f destroyed or rmmod fcoedrivers/scsi/libfc/fc_exch.c+8 -80 replies
53/54libfcoe: Do not pad FIP keep-alive to full frame sizedrivers/scsi/fcoe/libfcoe.c+1 -20 replies
54/54libfc fcoe: increase ELS and CT timeoutsdrivers/scsi/fcoe/fcoe.c drivers/scsi/libfc/fc_disc.c drivers/scsi/libfc/fc_lport.c +1 more+22 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/54] libfc, libfcoe, fcoe and fnic updates for 2.6.33

The following series implements a few features and fixes. Most of these patches have been published to linux-scsi before.

The main features in the set are NPIV support and FC Passthrough support.

---

Abhijeet Joglekar (1):
fnic: Allocate OS interrupt resources just before enabling interrupts

Chris Leech (15):
libfc, fcoe: fixes for highmem skb linearize panics
fcoe: vport symbolic name support
libfc: combine name server registration request functions
libfc: combine name server registration response handlers
libfc: Register Symbolic Port Name (RSPN_ID)
libfc: Register Symbolic Node Name (RSNN_NN)
libfc: RNN_ID may be required before RSNN_NN with some switches
libfc: RPN_ID is obsolete and unnecessary
fcoe: NPIV vport create/destroy
fcoe: add a separate scsi transport template for NPIV vports libfcoe, fcoe: libfcoe NPIV support
libfc, libfcoe: FDISC ELS for NPIV
libfc: vport link handling and fc_vport state managment
libfc: add some generic NPIV support routines to libfc
libfc: changes to libfc_host_alloc to consolidate initialization with allocation

Joe Eykholt (15):
libfc fcoe: increase ELS and CT timeouts
fnic: enable bsg pass-thru for fcping
libfc: register FC4 features with the FC switch
fnic: Add FIP support to the fnic driver
libfcoe: fcoe: simplify receive FLOGI response
libfc: add host number to lport link up/down messages.
libfc: add set_fid function to libfc template
libfc: fix fc_els_resp_type to correct display of CT responses
libfc: fix symbolic name registrations smashing skb data
libfc: fix RNN_ID smashing skb payload
libfcoe: don't send ELS in FIP mode if no FCF selected
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

Mike Christie (1):
libfc: do not use DID_NO_CONNECT for pkt alloc failures.

Robert Love (10):
fcoe: Formatting cleanups and commenting
libfcoe: formatting and comment cleanups
libfc: Formatting cleanups across libfc
libfc: Add routine to copy data from a buffer to a SG list
libfc: Export FC headers
libfc: Move libfc_init and libfc_exit to fc_libfc.c
libfc: Add libfc/fc_libfc.[ch] for libfc internal routines
libfc: Remove fc_fcp_complete
libfc: Move non-common routines and prototypes out of libfc.h
fcoe: Increase FCOE_MAX_LUN to 0xFFFF (65535)

Steve Ma (1):
libfc, fcoe: Add FC passthrough support

Vasu Dev (4):
libfc: fix an issue of pending exch/es after i/f destroyed or rmmod fcoe
libfc: adds can_queue ramp up
libfc: reduce can_queue for all FCP frame allocation failures fcoe, libfc: use single frame allocation API

Yi Zou (6):
libfcoe: Do not pad FIP keep-alive to full frame size
fcoe: Fix using VLAN ID in creating lport's WWWN/WWPN
fcoe: Fix setting lport's WWNN/WWPN to use san mac address
fcoe: Fix getting san mac for VLAN interface
fcoe: Fix checking san mac address
fcoe: remove extra function decalrations

john fastabend (1):
fcoe: add check to fail gracefully in bonding mode

 drivers/scsi/Kconfig          |    2 
 drivers/scsi/fcoe/fcoe.c      | 1087 ++++++++++++++++++++++++++-------------
 drivers/scsi/fcoe/fcoe.h      |   76 ++-
 drivers/scsi/fcoe/libfcoe.c   |  413 ++++++++-------
 drivers/scsi/fnic/fnic.h      |   23 +
 drivers/scsi/fnic/fnic_fcs.c  |  499 +++++++++---------
 drivers/scsi/fnic/fnic_main.c |  103 ++--
 drivers/scsi/fnic/fnic_res.c  |    5 
 drivers/scsi/fnic/fnic_res.h  |   50 ++
 drivers/scsi/fnic/fnic_scsi.c |   73 +--
 drivers/scsi/fnic/vnic_scsi.h |    1 
 drivers/scsi/libfc/Makefile   |    4 
 drivers/scsi/libfc/fc_disc.c  |   83 ++-
 drivers/scsi/libfc/fc_elsct.c |   75 ++-
 drivers/scsi/libfc/fc_exch.c  |  899 +++++++++++++++++++++-----------
 drivers/scsi/libfc/fc_fcp.c   |  975 +++++++++++++++++++----------------
 drivers/scsi/libfc/fc_frame.c |   12 
 drivers/scsi/libfc/fc_libfc.c |  134 +++++
 drivers/scsi/libfc/fc_libfc.h |  112 ++++
 drivers/scsi/libfc/fc_lport.c |  823 +++++++++++++++++++++--------
 drivers/scsi/libfc/fc_npiv.c  |  161 ++++++
 drivers/scsi/libfc/fc_rport.c |  250 +++++----
 include/scsi/Kbuild           |    1 
 include/scsi/fc/Kbuild        |    4 
 include/scsi/fc/fc_els.h      |    6 
 include/scsi/fc/fc_fcp.h      |    6 
 include/scsi/fc/fc_fs.h       |    2 
 include/scsi/fc/fc_gs.h       |    2 
 include/scsi/fc/fc_ns.h       |   35 +
 include/scsi/fc_encode.h      |   68 ++
 include/scsi/fc_frame.h       |   19 -
 include/scsi/libfc.h          | 1148 ++++++++++++++++++++---------------------
 include/scsi/libfcoe.h        |   92 ++-
 33 files changed, 4457 insertions(+), 2786 deletions(-)
 create mode 100644 drivers/scsi/libfc/fc_libfc.c
 create mode 100644 drivers/scsi/libfc/fc_libfc.h
 create mode 100644 drivers/scsi/libfc/fc_npiv.c
 create mode 100644 include/scsi/fc/Kbuild
Signature · 1 line
//Rob