libfc/libfcoe/fcoe updates for scsi-misc (2.6.39)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest28 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/28 | libfc: always initialize the FCoE DDP exchange id for fsp as FC_XID_UNKNOWNdrivers/ | +1 | 0 replies | |
| 2/28 | libfc: Return a valid return code in fc_fcp_pkt_abort()drivers/ | +4 | 0 replies | |
| 3/28 | libfc: Cleanup return paths in fc_rport_error_retrydrivers/ | +3 | 0 replies | |
| 4/28 | libfc: dereferencing ERR_PTR in fc_tm_done()drivers/ | +1 | 0 replies | |
| 5/28 | fnic: fix memory leakdrivers/ | +1 | 0 replies | |
| 6/28 | fnic: Bumping up fnic version from 1.4.0.145 to 1.5.0.1.drivers/ | +1 | 0 replies | |
| 7/28 | fcoe: Fix module reference count for vportsdrivers/ | +20 | 0 replies | |
| 8/28 | fcoe: drop FCoE LOGO in FIP modedrivers/ | +54 | 0 replies | |
| 9/28 | libfc: fix sparse static and non-ANSI warningsdrivers/ drivers/ drivers/ | +9 | 0 replies | |
| 10/28 | libfc: add hook for FC-4 provider registrationdrivers/ drivers/ drivers/ +2 more | +259 | 0 replies | |
| 11/28 | libfc: add method for setting handler for incoming exchangedrivers/ include/ | +29 | 0 replies | |
| 12/28 | libfc: add local port hook for provider session lookupinclude/ | +2 | 0 replies | |
| 13/28 | libfc: add hook to notify providers of local port changesdrivers/ drivers/ drivers/ +1 more | +58 | 0 replies | |
| 14/28 | libfc: use PRLI hook to get parameters when sending outgoing PRLIdrivers/ | +24 | 0 replies | |
| 15/28 | libfc: Remove usage of the Scsi_Host's host_lockdrivers/ | +6 | 0 replies | |
| 16/28 | libfc: export seq_release() for users of seq_assign()drivers/ include/ | +21 | 0 replies | |
| 17/28 | libfc: Enhanced exchange ID selection mechanism and fix related EMA selection logic.drivers/ | +43 | 0 replies | |
| 18/28 | libfcoe: move logging macros into the local libfcoe.h header filedrivers/ drivers/ | +27 | 0 replies | |
| 19/28 | libfcoe: add fcoe_transport structure defines to include/scsi/libfcoe.hinclude/ | +48 | 0 replies | |
| 20/28 | libfcoe: add implementation to support fcoe transportdrivers/ drivers/ | +524 | 2 replies | |
| 21/28 | libfcoe: rename libfcoe.c to fcoe_cltr.c for the coming fcoe_transport.cdrivers/ drivers/ drivers/ | +2692 | 0 replies | |
| 22/28 | libfcoe: include fcoe_transport.c into kernel libfcoe moduledrivers/ drivers/ drivers/ | +9 | 0 replies | |
| 23/28 | fcoe: prepare fcoe for using fcoe transportdrivers/ | +15 | 0 replies | |
| 24/28 | fcoe: convert fcoe.ko to become an fcoe transport provider driverdrivers/ | +62 | 0 replies | |
| 25/28 | libfc: Extending lport's roles for target if there is a registered target.drivers/ drivers/ drivers/ | +21 | 0 replies | |
| 26/28 | libfc: introduce LLD event callbackdrivers/ drivers/ include/ | +34 | 0 replies | |
| 27/28 | fcoe: use dedicated workqueue instead of system_wqdrivers/ | +21 | 0 replies | |
| 28/28 | libfcoe: Move common code from fcoe to libfcoe moduledrivers/ drivers/ drivers/ +1 more | +275 | 0 replies |
Reviews trailers per patch
2 of 28 patches have a Reviewed-by or Acked-by.
| Patch | Ross Brattain | Nicholas A. Bellinger |
|---|---|---|
| 1/28 | ||
| 2/28 | ||
| 3/28 | ||
| 4/28 | ||
| 5/28 | ||
| 6/28 | ||
| 7/28 | T-b | |
| 8/28 | ||
| 9/28 | ||
| 10/28 | ||
| 11/28 | ||
| 12/28 | Committed-by | |
| 13/28 | ||
| 14/28 | ||
| 15/28 | T-b | R-b |
| 16/28 | A-b | |
| 17/28 | ||
| 18/28 | ||
| 19/28 | ||
| 20/28 | ||
| 21/28 | ||
| 22/28 | ||
| 23/28 | ||
| 24/28 | ||
| 25/28 | ||
| 26/28 | ||
| 27/28 | ||
| 28/28 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/28] libfc/libfcoe/fcoe updates for scsi-misc (2.6.39)
This is a fairly significant update to libfc, libfcoe and fcoe. The two major changes are the addition hooks for a FC/FCoE target based on the new target infrastructure and the addition of a fcoe transport which will allow the upcoming bnx2fc driver to work with libfc and libfcoe.
1) fc4 provider hooks
These changes have been around for months and allow libfc to
respond (as a target) to commands sent from an initiator. There are also a few small changes here and there to libfc to make a target mode work. This changeset paves the way for TCM_FC which will bridge the TCM core with libfc/fcoe.
2) fcoe transport
libfcoe.c has now been split out into two new files:fcoe_transport.c and fcoe_ctlr.c. fcoe_transport.c implements a registration system for fcoe transports. The first transport is SW FCoE (i.e. fcoe.ko), the second will be bnx2fc (a brdcm fcoe driver). Any fcoe transport will simply provide a match function to determine if a netdevice is managed by the transport. fcoe.ko is the default and will be used if no other transport is available.
One interesting outcome of this is that the create/destroy/etc...
entry points are moving from fcoe.ko to libfcoe.ko. There are corresponding changes to fcoe-utils (fcoe user space suite), but I don't intend to commit them until all of this code is accepted to mainline. fcoe-utils is tagged against mainline.
3) Miscellaneous
a) Removal of scsi_host lock usage in fc_queuecommand
b) rport event callback to LLD from libfc (will be used by
bnx2fc)
c) Tejun Heo's workqueue change
d) Memory leak fix and version bump to fnic
All of these patches have been tested against today's scsi-misc.
---
Bhanu Prakash Gollapudi (2):
libfc: introduce LLD event callback
libfcoe: Move common code from fcoe to libfcoe module
Dan Carpenter (1):
libfc: dereferencing ERR_PTR in fc_tm_done()
Hillf Danton (2):
libfc: Return a valid return code in fc_fcp_pkt_abort()
libfc: Cleanup return paths in fc_rport_error_retry
Joe Eykholt (6):
libfc: add hook for FC-4 provider registration
libfc: add method for setting handler for incoming exchange
libfc: add local port hook for provider session lookup
libfc: add hook to notify providers of local port changes
libfc: use PRLI hook to get parameters when sending outgoing PRLI
libfc: export seq_release() for users of seq_assign()
Kiran Patil (2):
libfc: Enhanced exchange ID selection mechanism and fix related EMA selection logic.
libfc: Extending lport's roles for target if there is a registered target.
Randy Dunlap (1):
libfc: fix sparse static and non-ANSI warnings
Robert Love (2):
fcoe: Fix module reference count for vports
libfc: Remove usage of the Scsi_Host's host_lock
Tejun Heo (1):
fcoe: use dedicated workqueue instead of system_wq
Vasu Dev (1):
fcoe: drop FCoE LOGO in FIP mode
Venkata Siva Vijayendra Bhamidipati (2):
fnic: fix memory leak
fnic: Bumping up fnic version from 1.4.0.145 to 1.5.0.1.
Yi Zou (8):
libfc: always initialize the FCoE DDP exchange id for fsp as FC_XID_UNKNOWN
libfcoe: move logging macros into the local libfcoe.h header file
libfcoe: add fcoe_transport structure defines to include/scsi/libfcoe.h
libfcoe: add implementation to support fcoe transport
libfcoe: rename libfcoe.c to fcoe_cltr.c for the coming fcoe_transport.c
libfcoe: include fcoe_transport.c into kernel libfcoe module
fcoe: prepare fcoe for using fcoe transport
fcoe: convert fcoe.ko to become an fcoe transport provider driver
drivers/scsi/fcoe/Makefile | 2 drivers/scsi/fcoe/fcoe.c | 563 +++---- drivers/scsi/fcoe/fcoe.h | 44 - drivers/scsi/fcoe/fcoe_ctlr.c | 2682 ++++++++++++++++++++++++++++++++++++ drivers/scsi/fcoe/fcoe_transport.c | 726 ++++++++++ drivers/scsi/fcoe/libfcoe.c | 2708 ------------------------------------ drivers/scsi/fcoe/libfcoe.h | 31 drivers/scsi/fnic/fnic.h | 2 drivers/scsi/fnic/vnic_dev.c | 2 drivers/scsi/libfc/fc_exch.c | 103 + drivers/scsi/libfc/fc_fcp.c | 39 - drivers/scsi/libfc/fc_libfc.c | 120 ++ drivers/scsi/libfc/fc_libfc.h | 14 drivers/scsi/libfc/fc_lport.c | 68 + drivers/scsi/libfc/fc_npiv.c | 1 drivers/scsi/libfc/fc_rport.c | 190 ++- include/scsi/libfc.h | 74 + include/scsi/libfcoe.h | 99 + 18 files changed, 4252 insertions(+), 3216 deletions(-) create mode 100644 drivers/scsi/fcoe/fcoe_ctlr.c create mode 100644 drivers/scsi/fcoe/fcoe_transport.c delete mode 100644 drivers/scsi/fcoe/libfcoe.c create mode 100644 drivers/scsi/fcoe/libfcoe.h
Signature · 3 lines
Thanks, //Rob LocalWords: shortlog diffstat