Skip to content

FCoE VN2VN fixes

Hannes Reinecke linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest30 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/30libfc: Revisit kref handlingdrivers/scsi/libfc/fc_rport.c+105 -311 reply
2/30libfc: additional debugging messagesdrivers/scsi/libfc/fc_exch.c drivers/scsi/libfc/fc_fcp.c drivers/scsi/libfc/fc_rport.c+97 -210 replies
3/30libfc: spurious I/O error under high loaddrivers/scsi/libfc/fc_fcp.c+17 -100 replies
4/30libfc: Do not login if the port is already starteddrivers/scsi/libfc/fc_rport.c+6 -00 replies
5/30libfc: use configured lport R_A_TOV when sendingdrivers/scsi/libfc/fc_exch.c+1 -10 replies
6/30libfc: use configured e_d_tov for remote port statedrivers/scsi/libfc/fc_rport.c+1 -10 replies
7/30libfc: do not overwrite DID_TIME_OUT statusdrivers/scsi/libfc/fc_fcp.c+9 -30 replies
8/30libfc: use error code for fc_rport_error()drivers/scsi/libfc/fc_rport.c include/scsi/libfc.h+62 -400 replies
9/30libfc: Send LS_RJT responses on frame allocationdrivers/scsi/libfc/fc_rport.c+19 -80 replies
10/30libfc: don't advance state machine for incoming FLOGIdrivers/scsi/libfc/fc_rport.c+12 -60 replies
11/30libfc: Fixup disc_mutex handlingdrivers/scsi/fcoe/fcoe_ctlr.c drivers/scsi/libfc/fc_disc.c drivers/scsi/libfc/fc_rport.c+43 -170 replies
12/30libfc: Do not drop down to FLOGI for fc_rport_login()drivers/scsi/libfc/fc_rport.c+5 -10 replies
13/30libfc: Implement RTV responderdrivers/scsi/libfc/fc_rport.c+40 -10 replies
14/30libfc: Rework PRLI handlingdrivers/scsi/libfc/fc_rport.c+42 -200 replies
15/30libfc: Return LS_RJT_BUSY for PRLI in status PLOGIdrivers/scsi/libfc/fc_rport.c+17 -00 replies
16/30libfc: Clarify ramp-down messagesdrivers/scsi/libfc/fc_fcp.c+9 -30 replies
17/30libfc: sanitize E_D_TOV and R_A_TOV settingdrivers/scsi/libfc/fc_fcp.c drivers/scsi/libfc/fc_lport.c drivers/scsi/libfc/fc_rport.c+14 -90 replies
18/30libfc: safeguard against invalid exchange indexdrivers/scsi/libfc/fc_exch.c+14 -70 replies
19/30libfc: quarantine timed out xidsdrivers/scsi/libfc/fc_exch.c drivers/scsi/libfc/fc_fcp.c include/scsi/libfc.h+30 -170 replies
20/30libfc: don't fail sequence abort for completeddrivers/scsi/libfc/fc_fcp.c+30 -100 replies
21/30libfc: Do not drop out-of-order framesdrivers/scsi/libfc/fc_exch.c+0 -30 replies
22/30libfc: reset timeout on queue fulldrivers/scsi/libfc/fc_fcp.c include/scsi/libfc.h+20 -40 replies
23/30libfc: wait for E_D_TOV when out-of-order sequence is receiveddrivers/scsi/libfc/fc_fcp.c+20 -180 replies
24/30fcoe: Use kfree_skb() instead of kfree()drivers/scsi/fcoe/fcoe_ctlr.c+1 -10 replies
25/30fcoe: set default TC prioritydrivers/scsi/fcoe/fcoe.c+6 -20 replies
26/30fcoe: inhibit writing invalid values into the 'enabled'drivers/scsi/fcoe/fcoe_sysfs.c+10 -20 replies
27/30fcoe: correct sending FIP VLAN packets on VLAN 0drivers/scsi/fcoe/fcoe.c+2 -10 replies
28/30fcoe: FIP debuggingdrivers/scsi/fcoe/fcoe_ctlr.c+46 -50 replies
29/30fcoe: filter out frames from invalid vlansdrivers/scsi/fcoe/fcoe_ctlr.c+11 -10 replies
30/30fcoe: make R_A_TOV and E_D_TOV configurabledrivers/scsi/fcoe/fcoe.c drivers/scsi/fcoe/fcoe_sysfs.c+81 -20 replies

Reviews trailers per patch

2 of 30 patches have a Reviewed-by or Acked-by.

PatchJohannes Thumshirn
1/30A-b
2/30
3/30
4/30
5/30
6/30
7/30
8/30
9/30
10/30
11/30
12/30
13/30
14/30
15/30
16/30
17/30
18/30
19/30
20/30
21/30
22/30
23/30
24/30R-b
25/30
26/30
27/30
28/30
29/30
30/30

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/30] FCoE VN2VN fixes

Hi all,

here's a patchset to get VN2VN running on non-DCB fabrics. With it it's possible to run FCoE VN2VN over virtio, allowing for a fully virtualized FC testbed. Which would make it ideal to integrate into Mike's mptest test suite.
It also irons out some generic issues with the libfc stack, like another round for kref handling updates and handling PRLI correctly. (The PRLI problems even have a workaround in iPXE, so it's time to do something about it ...)

As usual, comments and reviews are welcome.

Hannes Reinecke (29):
libfc: Revisit kref handling
libfc: additional debugging messages
libfc: spurious I/O error under high load
libfc: Do not login if the port is already started
libfc: use configured lport R_A_TOV when sending
libfc: use configured e_d_tov for remote port state
libfc: do not overwrite DID_TIME_OUT status
libfc: use error code for fc_rport_error()
libfc: Send LS_RJT responses on frame allocation
libfc: don't advance state machine for incoming FLOGI
libfc: Fixup disc_mutex handling
libfc: Do not drop down to FLOGI for fc_rport_login()
libfc: Implement RTV responder
libfc: Rework PRLI handling
libfc: Return LS_RJT_BUSY for PRLI in status PLOGI
libfc: Clarify ramp-down messages
libfc: sanitize E_D_TOV and R_A_TOV setting
libfc: safeguard against invalid exchange index
libfc: quarantine timed out xids
libfc: don't fail sequence abort for completed
libfc: Do not drop out-of-order frames
libfc: reset timeout on queue full
libfc: wait for E_D_TOV when out-of-order sequence is received
fcoe: set default TC priority
fcoe: inhibit writing invalid values into the 'enabled'
fcoe: correct sending FIP VLAN packets on VLAN 0
fcoe: FIP debugging
fcoe: filter out frames from invalid vlans
fcoe: make R_A_TOV and E_D_TOV configurable

Wei Yongjun (1):
fcoe: Use kfree_skb() instead of kfree()

 drivers/scsi/fcoe/fcoe.c       |  23 ++-
 drivers/scsi/fcoe/fcoe_ctlr.c  |  93 +++++++--
 drivers/scsi/fcoe/fcoe_sysfs.c |  83 +++++++-
 drivers/scsi/libfc/fc_disc.c   |  30 +--
 drivers/scsi/libfc/fc_exch.c   | 118 +++++++----
 drivers/scsi/libfc/fc_fcp.c    | 195 ++++++++++++------
 drivers/scsi/libfc/fc_lport.c  |   8 +-
 drivers/scsi/libfc/fc_rport.c  | 436 ++++++++++++++++++++++++++++++-----------
 include/scsi/libfc.h           |   9 +-
 9 files changed, 760 insertions(+), 235 deletions(-)
Signature · 1 line
1.8.5.6