libfc, libfcoe and fcoe updates for scsi-misc
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest64 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/64 | fcoe: Add format spacing to FCOE_NETDEV_DBG debug macrodrivers/ | +1 | 0 replies | |
| 2/64 | libfc: Fix misleading debug statementdrivers/ | +3 | 0 replies | |
| 3/64 | fcoe: libfcoe: extra semicolon in CHECK_LOGGING macros causes compile errordrivers/ drivers/ | +2 | 0 replies | |
| 4/64 | fcoe, libfc: adds per cpu exch pool within exchange manager(EM)drivers/ drivers/ include/ | +88 | 0 replies | |
| 5/64 | fcoe, libfc: fully makes use of per cpu exch pool and then removes em_lockdrivers/ drivers/ include/ | +115 | 0 replies | |
| 6/64 | libfc: Export FC headersinclude/ include/ | +5 | 4 replies | |
| 7/64 | fcoe: Add sysfs parameter to fcoe for minimum DDP read I/O sizedrivers/ | +8 | 0 replies | |
| 8/64 | libfcoe: fcoe_ctlr_destroy use cancel_work_sync instead of flush_workdrivers/ | +6 | 0 replies | |
| 9/64 | fcoe: fix missing error check in call to fcoe_if_initdrivers/ | +3 | 0 replies | |
| 10/64 | fcoe: remove unnecessary list and lock initializations.drivers/ | +0 | 0 replies | |
| 11/64 | fcoe: interface changes to fcoe_if_create and fcoe_if_destroydrivers/ | +48 | 0 replies | |
| 12/64 | fcoe: Introduce and allocate fcoe_interface structure, 1:1 with net_devicedrivers/ drivers/ | +188 | 0 replies | |
| 13/64 | fcoe: move netdev to fcoe_interfacedrivers/ drivers/ | +38 | 0 replies | |
| 14/64 | fcoe: move packet handlers from fcoe_port to fcoe_interfacedrivers/ drivers/ | +18 | 0 replies | |
| 15/64 | fcoe: move FIP controller from fcoe_port to fcoe_interfacedrivers/ drivers/ | +39 | 0 replies | |
| 16/64 | fcoe: move offload exchange manager pointer from fcoe_port to fcoe_interfacedrivers/ drivers/ | +7 | 0 replies | |
| 17/64 | fcoe: remove fcoe_interface->priv pointerdrivers/ drivers/ | +0 | 0 replies | |
| 18/64 | fcoe: fcoe_interface create, destroy and refcountingdrivers/ drivers/ | +79 | 0 replies | |
| 19/64 | fcoe: split out per interface setupdrivers/ | +148 | 0 replies | |
| 20/64 | fcoe: add mutex to protect create and destroydrivers/ | +39 | 0 replies | |
| 21/64 | fcoe: move the host-list add/remove to keep out VN_Portsdrivers/ | +19 | 0 replies | |
| 22/64 | fcoe: Fix module ref count bug by adding NETDEV UNREGISTER handlingdrivers/ drivers/ | +67 | 0 replies | |
| 23/64 | fcoe: use rtnl mutex in place of hostlist lockdrivers/ | +11 | 0 replies | |
| 24/64 | libfc: prepare to split off struct fc_rport_priv from fc_rport_libfc_privdrivers/ drivers/ drivers/ +1 more | +49 | 0 replies | |
| 25/64 | libfc: change interface for rport_createdrivers/ drivers/ drivers/ +1 more | +35 | 0 replies | |
| 26/64 | libfc: fix RPORT_TO_PRIV and PRIV_TO_RPORT() macros.include/ | +2 | 0 replies | |
| 27/64 | libfc: make fc_rport_priv the primary rport interface.drivers/ drivers/ drivers/ +4 more | +245 | 0 replies | |
| 28/64 | libfc: change elsct to use FC_ID instead of rdatadrivers/ drivers/ drivers/ +4 more | +24 | 0 replies | |
| 29/64 | libfc: make rport structure optionaldrivers/ drivers/ drivers/ +1 more | +98 | 0 replies | |
| 30/64 | libfc: rearrange code in fc_rport_workdrivers/ | +15 | 0 replies | |
| 31/64 | libfc: rename rport event CREATED to READYdrivers/ drivers/ drivers/ +1 more | +6 | 0 replies | |
| 32/64 | libfc: don't create dummy (rogue) remote portsdrivers/ drivers/ include/ | +92 | 0 replies | |
| 33/64 | libfc: fix rport event race between READY and LOGOdrivers/ | +1 | 0 replies | |
| 34/64 | libfc: eliminate disc->eventdrivers/ include/ | +12 | 0 replies | |
| 35/64 | libfc: remove unused disc->delay elementdrivers/ include/ | +0 | 0 replies | |
| 36/64 | libfc: rport debug messages were printing pointer valuesdrivers/ | +2 | 0 replies | |
| 37/64 | libfc: simplify fc_lport_rport_callbackdrivers/ | +15 | 0 replies | |
| 38/64 | libfc: make rport module maintain the rport listdrivers/ drivers/ drivers/ | +15 | 0 replies | |
| 39/64 | libfc: have rport_create do a lookup for pre-existing rports firstdrivers/ drivers/ | +7 | 0 replies | |
| 40/64 | libfc: change to make remote port callback optionaldrivers/ drivers/ | +5 | 0 replies | |
| 41/64 | libfc: move rport_lookup into fc_rport.cdrivers/ drivers/ | +20 | 0 replies | |
| 42/64 | libfc: do not log off rports before or after discoverydrivers/ include/ | +37 | 0 replies | |
| 43/64 | libfc: discovery restart sequence error fixdrivers/ | +1 | 0 replies | |
| 44/64 | libfc: rearrange code in fc_disc_gpn_ft_resp()drivers/ | +12 | 0 replies | |
| 45/64 | libfc: handle discovery failure more correctly.drivers/ | +3 | 0 replies | |
| 46/64 | libfc: fix: empty zone causes endless discovery retries.drivers/ include/ | +4 | 0 replies | |
| 47/64 | libfc: discovery retry should clear pending first.drivers/ | +2 | 0 replies | |
| 48/64 | libfc: discovery gpn_ft parse bugdrivers/ | +4 | 0 replies | |
| 49/64 | libfc: clean up point-to-point discovery code.drivers/ drivers/ | +4 | 0 replies | |
| 50/64 | libfc: don't do discovery before callback is setdrivers/ | +3 | 0 replies | |
| 51/64 | libfc: Initialize fc_rport_identifiers inside fc_rport_createdrivers/ drivers/ drivers/ +1 more | +32 | 0 replies | |
| 52/64 | libfc: Always reset remote port roles when receiving PRLIdrivers/ | +6 | 0 replies | |
| 53/64 | libfc: move remote port lookup for ELS requests into fc_rport.c.drivers/ drivers/ include/ | +44 | 0 replies | |
| 54/64 | libfc: fix: rport_recv_req needs disc_mutex when calling rport_lookupdrivers/ | +3 | 0 replies | |
| 55/64 | libfc: improve debug messages for ELS response handlersdrivers/ drivers/ drivers/ +1 more | +57 | 0 replies | |
| 56/64 | libfc: correctly handle incoming PLOGI request.drivers/ | +93 | 0 replies | |
| 57/64 | libfc: fix rport error handling for login-required and invalid opsdrivers/ | +88 | 0 replies | |
| 58/64 | libfc: re-login to remote ports that send us LOGOdrivers/ | +11 | 0 replies | |
| 59/64 | libfc: LOGO response code had extraeous enter_rtvdrivers/ | +4 | 0 replies | |
| 60/64 | libfc: use ADISC to verify rport login statedrivers/ include/ include/ | +139 | 0 replies | |
| 61/64 | libfc: fix handling of incoming Discover Address (ADISC) requestsdrivers/ drivers/ | +48 | 0 replies | |
| 62/64 | libfc: send GPN_ID in reaction to single-port RSCNs.drivers/ drivers/ include/ | +128 | 0 replies | |
| 63/64 | libfc: don't swap OX_ID and RX_ID when sending BA_RJTdrivers/ | +2 | 0 replies | |
| 64/64 | fcoe: flush per-cpu thread work when destroying interfacedrivers/ | +40 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/64] libfc, libfcoe and fcoe updates for scsi-misc
These patches are targeting the 2.6.32 merge window.
There are three main focuses in this patch series. First, there are contributions that modify the stack for VLANs and prepare for NPIV. For both of those technologies resources need to be shared between VLANs on a physical port or VN_Ports on an N_Port. Second, there are improvements to the discovery and remote port layers. Discovery is now much more graceful (ADISC) and there is a cleaner division between fc_rports that are used by the FC transport and libfc's internal remote port tracking structures. Third, there is a performance optomization for the exchange manager where per-CPU exchange ID (XID) pools are created so that each CPU is not contending for a shared lock when trying to acquire a new XID.
Other than these primary changes there are other smaller contributions. A user-tunable DDP limit has been added. There are various improvements to the debug logging macros and uses of them. FC headers are exported for user space tools. The fcoe create/destroy path has been improved.
---
Chris Leech (15):
fcoe: use rtnl mutex in place of hostlist lock
fcoe: Fix module ref count bug by adding NETDEV UNREGISTER handling
fcoe: move the host-list add/remove to keep out VN_Ports
fcoe: add mutex to protect create and destroy
fcoe: split out per interface setup
fcoe: fcoe_interface create, destroy and refcounting
fcoe: remove fcoe_interface->priv pointer
fcoe: move offload exchange manager pointer from fcoe_port to fcoe_interface
fcoe: move FIP controller from fcoe_port to fcoe_interface
fcoe: move packet handlers from fcoe_port to fcoe_interface
fcoe: move netdev to fcoe_interface
fcoe: Introduce and allocate fcoe_interface structure, 1:1 with net_device
fcoe: interface changes to fcoe_if_create and fcoe_if_destroy
fcoe: fix missing error check in call to fcoe_if_init
libfcoe: fcoe_ctlr_destroy use cancel_work_sync instead of flush_work
Joe Eykholt (41):
fcoe: flush per-cpu thread work when destroying interface
libfc: don't swap OX_ID and RX_ID when sending BA_RJT
libfc: send GPN_ID in reaction to single-port RSCNs.
libfc: fix handling of incoming Discover Address (ADISC) requests
libfc: use ADISC to verify rport login state
libfc: LOGO response code had extraeous enter_rtv
libfc: re-login to remote ports that send us LOGO
libfc: fix rport error handling for login-required and invalid ops
libfc: correctly handle incoming PLOGI request.
libfc: improve debug messages for ELS response handlers
libfc: fix: rport_recv_req needs disc_mutex when calling rport_lookup
libfc: move remote port lookup for ELS requests into fc_rport.c.
libfc: don't do discovery before callback is set
libfc: clean up point-to-point discovery code.
libfc: discovery gpn_ft parse bug
libfc: discovery retry should clear pending first.
libfc: fix: empty zone causes endless discovery retries.
libfc: handle discovery failure more correctly.
libfc: rearrange code in fc_disc_gpn_ft_resp()
libfc: discovery restart sequence error fix
libfc: do not log off rports before or after discovery
libfc: move rport_lookup into fc_rport.c
libfc: change to make remote port callback optional
libfc: have rport_create do a lookup for pre-existing rports first
libfc: make rport module maintain the rport list
libfc: simplify fc_lport_rport_callback
libfc: rport debug messages were printing pointer values
libfc: remove unused disc->delay element
libfc: eliminate disc->event
libfc: fix rport event race between READY and LOGO
libfc: don't create dummy (rogue) remote ports
libfc: rename rport event CREATED to READY
libfc: rearrange code in fc_rport_work
libfc: make rport structure optional
libfc: change elsct to use FC_ID instead of rdata
libfc: make fc_rport_priv the primary rport interface.
libfc: fix RPORT_TO_PRIV and PRIV_TO_RPORT() macros.
libfc: change interface for rport_create
libfc: prepare to split off struct fc_rport_priv from fc_rport_libfc_priv
fcoe: remove unnecessary list and lock initializations.
fcoe: libfcoe: extra semicolon in CHECK_LOGGING macros causes compile error
Robert Love (5):
libfc: Always reset remote port roles when receiving PRLI
libfc: Initialize fc_rport_identifiers inside fc_rport_create
libfc: Export FC headers
libfc: Fix misleading debug statement
fcoe: Add format spacing to FCOE_NETDEV_DBG debug macro
Vasu Dev (2):
fcoe, libfc: fully makes use of per cpu exch pool and then removes em_lock fcoe, libfc: adds per cpu exch pool within exchange manager(EM)
Yi Zou (1):
fcoe: Add sysfs parameter to fcoe for minimum DDP read I/O size
drivers/scsi/fcoe/fcoe.c | 948 ++++++++++++++++++++---------------- drivers/scsi/fcoe/fcoe.h | 32 + drivers/scsi/fcoe/libfcoe.c | 10 drivers/scsi/libfc/fc_disc.c | 523 ++++++++------------ drivers/scsi/libfc/fc_elsct.c | 49 ++ drivers/scsi/libfc/fc_exch.c | 286 +++++++---- drivers/scsi/libfc/fc_fcp.c | 2 drivers/scsi/libfc/fc_lport.c | 222 ++------ drivers/scsi/libfc/fc_rport.c | 1091 +++++++++++++++++++++++++---------------- include/scsi/Kbuild | 1 include/scsi/fc/Kbuild | 4 include/scsi/fc/fc_gs.h | 1 include/scsi/fc_encode.h | 60 ++ include/scsi/libfc.h | 122 +++-- 14 files changed, 1824 insertions(+), 1527 deletions(-) create mode 100644 include/scsi/fc/Kbuild
Signature · 1 line
//Rob