Skip to content

FCoE VN2VN fixes, part two

Hannes Reinecke linux-scsi 1 version Applied

Status from this message: Applied to 4.10/scsi-queue.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 15 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/24libfc: additional debugging messagesdrivers/scsi/libfc/fc_exch.c drivers/scsi/libfc/fc_fcp.c drivers/scsi/libfc/fc_rport.c+101 -240 replies
2/24libfc: spurious I/O error under high loaddrivers/scsi/libfc/fc_fcp.c+15 -80 replies
3/24libfc: use configured lport R_A_TOVdrivers/scsi/libfc/fc_exch.c+1 -10 replies
4/24libfc: use configured rport E_D_TOVdrivers/scsi/libfc/fc_rport.c+1 -10 replies
5/24libfc: 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 -91 reply
6/24fcoe: make R_A_TOV and E_D_TOV configurabledrivers/scsi/fcoe/fcoe.c drivers/scsi/fcoe/fcoe_sysfs.c+81 -20 replies
7/24libfc: do not overwrite DID_TIME_OUT statusdrivers/scsi/libfc/fc_fcp.c+9 -30 replies
8/24libfc: use error code for fc_rport_error()drivers/scsi/libfc/fc_rport.c include/scsi/libfc.h+66 -400 replies
9/24libfc: Implement RTV responderdrivers/scsi/libfc/fc_rport.c+40 -10 replies
10/24libfc: Rework PRLI handlingdrivers/scsi/libfc/fc_rport.c+38 -181 reply
11/24libfc: Return LS_RJT_BUSY for PRLI in status PLOGIdrivers/scsi/libfc/fc_rport.c+17 -01 reply
12/24libfc: Clarify ramp-down messagesdrivers/scsi/libfc/fc_fcp.c+9 -31 reply
13/24libfc: safeguard against invalid exchange indexdrivers/scsi/libfc/fc_exch.c+14 -71 reply
14/24libfc: quarantine timed out xidsdrivers/scsi/libfc/fc_exch.c drivers/scsi/libfc/fc_fcp.c include/scsi/libfc.h+30 -171 reply
15/24libfc: don't fail sequence abort for completed exchangesdrivers/scsi/libfc/fc_fcp.c+30 -100 replies
16/24libfc: Do not drop out-of-order framesdrivers/scsi/libfc/fc_exch.c+0 -30 replies
17/24libfc: reset timeout on queue fulldrivers/scsi/libfc/fc_fcp.c include/scsi/libfc.h+19 -40 replies
18/24libfc: wait for E_D_TOV when out-of-order sequence is receiveddrivers/scsi/libfc/fc_fcp.c+20 -181 reply
19/24libfc: Check xid when looking up REC exchangesdrivers/scsi/libfc/fc_exch.c+12 -41 reply
20/24fcoe: set default TC prioritydrivers/scsi/fcoe/fcoe.c+6 -21 reply
21/24fcoe: catch invalid values for the 'enabled' attributedrivers/scsi/fcoe/fcoe_sysfs.c+10 -21 reply
22/24fcoe: FIP debuggingdrivers/scsi/fcoe/fcoe_ctlr.c+44 -41 reply
23/24fcoe: correct sending FIP VLAN packets on VLAN 0drivers/scsi/fcoe/fcoe.c+2 -11 reply
24/24fcoe: filter out frames from invalid vlansdrivers/scsi/fcoe/fcoe_ctlr.c+11 -11 reply

Reviews trailers per patch

All 24 patches have a Reviewed-by or Acked-by.

PatchJohannes ThumshirnBart Van Assche
1/24A-b
2/24A-b
3/24A-b
4/24A-b
5/24A-b
6/24A-b
7/24A-b
8/24A-b
9/24A-b
10/24A-b
11/24R-b
12/24A-b
13/24R-b
14/24R-b
15/24A-b
16/24A-b
17/24A-b
18/24R-b
19/24R-b
20/24R-b
21/24A-b
22/24R-b
23/24R-b
24/24R-b

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/24] FCoE VN2VN fixes, part two

Hi all,

here's now the second part of my FCoE VN2VN patchset. The key points are:
- Configurable R_A_TOV/E_D_TOV
- Rework PRLI handling to fix a longstanding bug
- Correctly handle timed-out xids

Additionally there are some minor fixes to get things to work when running with FCoE over virtio.

Patches are relative to mkp/4.10/scsi-queue.

As usual, comments and reviews are welcome.

Hannes Reinecke (24):
libfc: additional debugging messages
libfc: spurious I/O error under high load
libfc: use configured lport R_A_TOV
libfc: use configured rport E_D_TOV
libfc: sanitize E_D_TOV and R_A_TOV setting
fcoe: make R_A_TOV and E_D_TOV configurable
libfc: do not overwrite DID_TIME_OUT status
libfc: use error code for fc_rport_error()
libfc: Implement RTV responder
libfc: Rework PRLI handling
libfc: Return LS_RJT_BUSY for PRLI in status PLOGI
libfc: Clarify ramp-down messages
libfc: safeguard against invalid exchange index
libfc: quarantine timed out xids
libfc: don't fail sequence abort for completed exchanges
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
libfc: Check xid when looking up REC exchanges
fcoe: set default TC priority
fcoe: catch invalid values for the 'enabled' attribute
fcoe: FIP debugging
fcoe: correct sending FIP VLAN packets on VLAN 0
fcoe: filter out frames from invalid vlans

 drivers/scsi/fcoe/fcoe.c       |  23 +++-
 drivers/scsi/fcoe/fcoe_ctlr.c  |  60 +++++++++-
 drivers/scsi/fcoe/fcoe_sysfs.c |  83 +++++++++++++-
 drivers/scsi/libfc/fc_exch.c   | 134 ++++++++++++++++------
 drivers/scsi/libfc/fc_fcp.c    | 196 ++++++++++++++++++++++----------
 drivers/scsi/libfc/fc_lport.c  |   8 +-
 drivers/scsi/libfc/fc_rport.c  | 248 ++++++++++++++++++++++++++++++-----------
 include/scsi/libfc.h           |   9 +-
 8 files changed, 584 insertions(+), 177 deletions(-)
Signature · 1 line
1.8.5.6