Skip to content

libfc, libfcoe and fcoe updates for 2.6.32

Robert Love linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest35 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/35libfc: fix typo in retry check on received PRLIdrivers/scsi/libfc/fc_rport.c+1 -10 replies
2/35fcoe: Increase FCOE_MAX_LUN to 0xFFFF (65535)drivers/scsi/fcoe/fcoe.h+1 -10 replies
3/35libfc: Move non-common routines and prototypes out of libfc.hdrivers/scsi/libfc/fc_exch.c include/scsi/libfc.h+177 -2010 replies
4/35libfc: Remove fc_fcp_completedrivers/scsi/libfc/fc_fcp.c include/scsi/libfc.h+0 -250 replies
5/35libfc: 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/35libfc: 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/35libfc: fix ddp in fc_fcp for 0 xiddrivers/scsi/libfc/fc_fcp.c+6 -20 replies
8/35fcoe: remove redundant checking of netdev->netdev_opsdrivers/scsi/fcoe/fcoe.c+2 -20 replies
9/35libfc, 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
10/35libfc: 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
11/35libfc: 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
12/35libfc: 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
13/35libfc, 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
14/35libfcoe, fcoe: libfcoe NPIV supportdrivers/scsi/fcoe/fcoe.c drivers/scsi/fcoe/fcoe.h drivers/scsi/fcoe/libfcoe.c +5 more+207 -600 replies
15/35fcoe: add a separate scsi transport template for NPIV vportsdrivers/scsi/fcoe/fcoe.c+47 -70 replies
16/35fcoe: NPIV vport create/destroydrivers/scsi/fcoe/fcoe.c+139 -230 replies
17/35libfc: RPN_ID is obsolete and unnecessarydrivers/scsi/libfc/fc_lport.c include/scsi/libfc.h+3 -930 replies
18/35libfc: 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
19/35libfc: 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
20/35libfc: 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
21/35libfc: combine name server registration response handlersdrivers/scsi/libfc/fc_lport.c+30 -1750 replies
22/35libfc: combine name server registration request functionsdrivers/scsi/libfc/fc_lport.c+42 -1220 replies
23/35fcoe: vport symbolic name supportdrivers/scsi/fcoe/fcoe.c drivers/scsi/libfc/fc_frame.c+34 -00 replies
24/35libfc: Export FC headersinclude/scsi/Kbuild include/scsi/fc/Kbuild include/scsi/fc/fc_els.h +3 more+13 -00 replies
25/35libfc: 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
26/35libfc, fcoe: Add FC passthrough supportdrivers/scsi/fcoe/fcoe.c drivers/scsi/libfc/fc_lport.c include/scsi/libfc.h+278 -00 replies
27/35libfc, fcoe: Don't EXPORT_SYMBOLS unnecessarilydrivers/scsi/libfc/fc_exch.c drivers/scsi/libfc/fc_fcp.c drivers/scsi/libfc/fc_frame.c +1 more+0 -50 replies
28/35libfc: Remove unused fc_lport pointer from fc_fcp_pkt_abortdrivers/scsi/libfc/fc_fcp.c+2 -20 replies
29/35libfc: Formatting cleanups across libfcdrivers/scsi/libfc/fc_disc.c drivers/scsi/libfc/fc_elsct.c drivers/scsi/libfc/fc_exch.c +6 more+1640 -12600 replies
30/35libfcoe: formatting and comment cleanupsdrivers/scsi/fcoe/libfcoe.c include/scsi/libfcoe.h+153 -1470 replies
31/35fcoe: Formatting cleanups and commentingdrivers/scsi/fcoe/fcoe.c drivers/scsi/fcoe/fcoe.h+441 -3560 replies
32/35libfc: Fix wrong scsi return status under FC_DATA_UNDRUNdrivers/scsi/libfc/fc_fcp.c+2 -10 replies
33/35fcoe, 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
34/35libfc: reduce can_queue for all FCP frame allocation failuresdrivers/scsi/libfc/fc_fcp.c+59 -430 replies
35/35libfc: adds can_queue ramp updrivers/scsi/libfc/fc_fcp.c+59 -192 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/35] libfc, libfcoe and fcoe updates for 2.6.32

The following series implements a variety of features and fixes for the 2.6.32 kernel. At a high level they are the following-

1) NPIV support

2) Symbolic name registration with the fabric

3) libfc FC passthrough support

4) Style and comment improvements

5) can_queue adjustments for frame allocation failures

6) Variety of minor improvements and bug fixes

These patches were built on scsi-misc.git rebased to the current linux-2.6. As well as on top of Vasu Dev's queue depth patch set.

---

Chris Leech (15):
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 libfc, fcoe: fixes for highmem skb linearize panics

Joe Eykholt (1):
libfc: fix typo in retry check on received PRLI

Robert Love (12):
fcoe: Formatting cleanups and commenting
libfcoe: formatting and comment cleanups
libfc: Formatting cleanups across libfc
libfc: Remove unused fc_lport pointer from fc_fcp_pkt_abort libfc, fcoe: Don't EXPORT_SYMBOLS unnecessarily
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 (3):
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 (3):
libfc: Fix wrong scsi return status under FC_DATA_UNDRUN
fcoe: remove redundant checking of netdev->netdev_ops
libfc: fix ddp in fc_fcp for 0 xid

 drivers/scsi/fcoe/fcoe.c      | 1073 ++++++++++++++++++++++++++-------------
 drivers/scsi/fcoe/fcoe.h      |   76 ++-
 drivers/scsi/fcoe/libfcoe.c   |  288 ++++++----
 drivers/scsi/fnic/fnic_main.c |   10 
 drivers/scsi/libfc/Makefile   |    4 
 drivers/scsi/libfc/fc_disc.c  |   80 +--
 drivers/scsi/libfc/fc_elsct.c |   34 +
 drivers/scsi/libfc/fc_exch.c  |  892 +++++++++++++++++++++-----------
 drivers/scsi/libfc/fc_fcp.c   |  988 +++++++++++++++++++-----------------
 drivers/scsi/libfc/fc_frame.c |   13 
 drivers/scsi/libfc/fc_libfc.c |  134 +++++
 drivers/scsi/libfc/fc_libfc.h |  112 ++++
 drivers/scsi/libfc/fc_lport.c |  757 +++++++++++++++++++--------
 drivers/scsi/libfc/fc_npiv.c  |  161 ++++++
 drivers/scsi/libfc/fc_rport.c |  243 +++++----
 include/scsi/Kbuild           |    1 
 include/scsi/fc/Kbuild        |    4 
 include/scsi/fc/fc_els.h      |    6 
 include/scsi/fc/fc_fs.h       |    2 
 include/scsi/fc/fc_gs.h       |    2 
 include/scsi/fc/fc_ns.h       |   22 +
 include/scsi/fc_encode.h      |   54 ++
 include/scsi/fc_frame.h       |   19 -
 include/scsi/libfc.h          | 1131 +++++++++++++++++++----------------------
 include/scsi/libfcoe.h        |   89 ++-
 25 files changed, 3851 insertions(+), 2344 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