Skip to content

Technology card

Shipping

Fibre Channel

FC

Follow an I/O through frames, sequences and exchanges, and distinguish link-buffer availability from command completion.

Glossary entry on hesela.dev · JSON record · FC zoning · LUN masking · Shared-writer fencing · FCIP · FCoE forwarder · FIP snooping · DCBX · Frame · Sequence · Exchange · Buffer-to-buffer credits · Buffer-cycle deadlock · NVMe fabrics and transport choices

On this page7 sections

In one minute

Fibre Channel is a frame-based networking architecture used to carry storage protocols between node ports, directly or through a fabric.

Start with the operation, not the cable. An exchange organizes related sequences; a sequence contains frames. In a trace, preserve port addresses, OX_ID/RX_ID, SEQ_ID and SEQ_CNT together. Looking at an exchange number without its endpoints and lifetime can join unrelated work. [15]

FC-NVMe reuses elements of FCP transport while carrying different command semantics. Its I/O can reuse FC-2 TYPE 08h, so identifying the upper-layer operation requires protocol context, not just the frame TYPE. A header constant alone is not a reliable SCSI-versus-NVMe classifier. [15]

Size has a boundary too. The base header is 24 octets and the data field can reach 2112 octets, including optional headers. Negotiated limits can be smaller. These are not 2112 guaranteed application bytes. [11] Linux's FC_MAX_FRAME is 2136 bytes, counting the header and data field but not the CRC or delimiters. [12] RFC 3643 includes the CRC in frame content and represents delimiters separately for IP encapsulation; its encoding is not a universal native-link format. [16]

Buffer-to-buffer credits belong to each direction of a link. Sending a frame spends one credit, regardless of frame length. In the basic R_RDY mode, freeing a receive buffer returns permission to send another frame. At zero credits the sender waits; this does not by itself prove a failed disk or lost data. [13]

R_RDY is not a SCSI status response. Linux represents command status in FCP_RSP separately from link flow control. Consequently, a credit return cannot demonstrate command success or durable media state. This is a protocol-layer inference, not a power-failure experiment. [14]

When transmission stalls, record direction, the observation interval, credit availability and error counters alongside command latency. Cisco documents insufficient credit for link speed/distance and credit loss after damaged frames or R_RDY primitives. Diagnose these before treating every pause as a slow storage device; credit-return variants such as ER_RDY also exist. On Cisco MDS E ports, the cited BB_SC_N credit-recovery feature supports R_RDY, not ER_RDY mode. Do not assume a recovery mechanism applies across modes. [13]

Preventing buffer overflow does not ensure forward progress. Cherkasova, Kotov and Rokicki studied cyclic buffer dependencies in 1996: frames can wait on one another through a closed chain of occupied buffers. Their routing analysis separates this from raw link capacity. It is a historical model, not a measurement of modern switches. [10]

The paper's throughput bound assumes uniform traffic between terminal ports, idealized buffering and trunk-link bandwidth as the bottleneck. Its example also shows that removing a deadlock can concentrate traffic on central links. Deadlock freedom and balanced throughput are separate objectives in that historical model, not a forecast for current application traffic. [10]

In a switched fabric, FLOGI establishes fabric parameters and obtains a fabric address; PLOGI establishes peer-port parameters. [11] FLOGI does not make a switch a universal prerequisite: Linux libfc also handles it in direct point-to-point operation. [17]

FCoE carries FC traffic over Ethernet without the TCP/IP transport used by FCIP. A Fibre Channel Forwarder (FCF) uses the FC destination ID, D_ID, to select the next hop and updates the Ethernet MAC addresses. An intervening Ethernet bridge is a different role, even when it understands FIP. [7]

FIP snooping adds connection-aware filtering to that bridge. In the documented transit implementation, discovery and successful fabric-login exchanges establish MAC-address rules; deleting the virtual link removes them. A port configured as FCF-facing describes its peer, not a promotion of the bridge into an FC switch. Inspect learned state and port roles when Ethernet connectivity exists but storage traffic is filtered. [8]

Separate discovery from flow control. FIP uses EtherType 0x8914 for setup and maintenance, while payload-carrying FCoE uses 0x8906. DCBX exchanges Ethernet configuration through LLDP, and PFC regulates selected traffic priorities. A FIP exchange alone therefore establishes neither correct end-to-end flow-control configuration nor successful, durable storage I/O. This is a protocol-layer distinction, not a tested switch configuration. [9]

DCBX is a link-peer configuration exchange, not another name for PFC. Its LLDP records communicate capabilities and settings; PFC and ETS separately control priority pausing and bandwidth allocation. A received advertisement does not demonstrate correct configuration on every hop. [2]

Interpret the individual records. ETS separates configuration from recommendation, with willingness attached to the configuration record. OpenLLDP documents a PFC tie-break when both peers are willing; its APP record provides application-priority information that applications may use. Inspect effective traffic classification rather than assuming an advertised application priority was applied. [4] [5] [6]

Check the protocol version and implementation policy as well as link state. The AOS-CX 10.16 guide for the 8400 requires LLDP for DCBX, distinguishes IEEE from pre-standard CEE, and documents a switch unwilling to adopt peer configuration. These platform-specific rules are not universal defaults. Successful capability exchange still does not prove FIP login, end-to-end loss avoidance or durable I/O. [3]

Buffer headroom is a separate check from capability exchange. Zhu et al.'s DCQCN analysis reserves space for traffic arriving while PAUSE takes effect. In its Trident II model, ECN observes egress queues and PFC ingress queues, so their thresholds are not directly interchangeable. Earlier ECN marking can still be followed by PAUSE during feedback delay. This RoCEv2 study is not an FCoE benchmark or a universal switch configuration. [1]

FCIP joins separated FC fabric portions over IP, using one or more TCP connections per link. It forwards FC frames rather than replacing the command protocol with iSCSI; ordering is per connection, not automatically across the whole link. [19]

The common encapsulation retains the FC CRC and represents frame delimiters separately. Encapsulation timestamps support transit-time checks when synchronized time bases are available. FC frame-lifetime limits still matter: eventual delivery does not justify forwarding arbitrarily old frames. [16] Round-trip delay, TCP windows and buffering matter alongside bandwidth. Transport acknowledgement is not storage-command completion or durable-data evidence; this is a layering inference, not a hardware test. [19]

FCIP does not tunnel FC Primitive Signals, Primitive Sequences or Class 1 frames. FC credits and TCP windows are separate control loops; their coordination is implementation-specific; RFC 3821 does not define a universal credit-to-window conversion. TCP keepalive alone is not a fast failure detection guarantee: RFC 3821 recommends an FC-side detection mechanism and requires reporting discovered TCP loss to the FC entity. [19]

When no synchronized timestamp is available, RFC 3821 requires a zero timestamp; that does not mean the frame spent zero time in transit. [19] Transit-time calculation requires a valid timestamp and aligned, synchronized time bases. [16]

iFCP uses a different session model, binding an N_PORT pair to one TCP connection. [20] Its original address-translation mode was deprecated in 2011; address-transparent mode was not. Do not treat address translation as an essential property of every iFCP deployment. [21]

Protocol number 133 identifies a pre-standard direct-IP format, not standard TCP-based FCIP. [21] RFC 7146 updates earlier IPsec requirements; this architectural comparison is not current security configuration guidance. [22]

A reachable port does not establish access to a logical unit. Fibre Channel zoning can govern fabric-port relationships; array-side LUN masking selects the logical units exposed to a permitted initiator. Review both layers before treating a missing volume as failed media. [24]

Membership is not enforcement. The Cisco MDS 9.x guide distinguishes Name Server filtering (soft zoning) from per-frame hardware checks (hard zoning); WWPN membership does not imply soft-only enforcement. The same MDS guide documents fallback to soft zoning when hardware resources prevent hard enforcement. Check the active policy and actual enforcement state. This is a vendor-scoped distinction, not a universal fabric default. [23]

Configured, active and saved are separate states. In Cisco MDS 9.x, editing the full zoneset does not change the active policy until reactivation. Activation persistently stores the active zoneset, but retaining the full editable database across a reload requires a separate save. A working active policy therefore does not prove that the full configuration database has been retained. This is a documented configuration-lifecycle distinction, not a tested restart result. [23]

ONTAP illustrates the next layer with initiator groups containing FC host WWPNs or iSCSI node names. A mapped LUN can be accessible to several hosts. [25] Hesela's design implication: permission to use storage does not coordinate concurrent updates. Fabric policy, logical-unit mapping and shared-writer recovery remain separate review questions; this is not a live SAN test or a reconfiguration procedure.

Access control, peer authentication and traffic protection answer different questions. A permitted WWPN is not itself a credential check; authentication alone does not establish frame encryption. The 2024 SNIA/FCIA white paper treats these controls separately. [26] RFC 5324 likewise separates authentication from security associations and their traffic selectors. [28]

Configured support is not observed authentication. In the cited MDS 9.x implementation, auto-passive participates but does not initiate authentication; auto-active can continue initialization when a peer lacks DHCHAP, whereas on isolates that unsupported peer. Check the negotiated outcome, not just feature presence. These are documented compatibility modes, not a tested bypass or a recommended security configuration. [27]

Sizing the credit window

A faster link can spend its credits sooner without receiving them back sooner. FCIA's 2024 interconnect presentation relates the required window to rate, round-trip delay and frame size. [18] (slides 19-23)

For a fixed frame stream, let F be the intended frames per second and T the time from spending one credit until it can be reused. Covering that interval requires ceil(F * T) credits. With C credits, our idealized long-run sending fraction is min(1, C / (F * T)).

Worked examples, not switch sizing recommendations. Gb/s counts the assumed frame bits, not a marketed FC speed or application goodput.
CaseGb/sBytes/frameReturn time (us)Credits available / neededSending fraction
Reference16200010064 / 10064%
Half-sized frames16100010064 / 20032%
Twice the bit rate32200010064 / 20032%
Longer credit return16200015064 / 15042.7%
Larger window162000100100 / 100100%

This model assumes one direction, a continuously ready sender, fixed frame size and fixed return time. It omits framing and coding overhead, bursts, shared buffers, lost credits and downstream contention. T includes serialization and processing where relevant; propagation alone is a lower-bound approximation. Averages do not describe every busy interval.

Reproduce the table with the JavaScript module and compare its JSON assumptions and results. No hardware throughput was measured.

Check the arithmetic before copying a sizing rule

FCIA slide 22 uses 100 km, 2000-byte frames and 57.8 Gb/s. Its stated 2 x 108 m/s follows c / n for n = 1.5, although the slide prints multiplication. Keeping its approximate inputs without intermediate rounding gives 3612.5 frames, rounded up to 3613 credits. Its 3636 result follows rounding the spatial frame length to 55 m first. These are arithmetic checks, not validated operating margins. [18]

Cisco's 9.x guide applies the 16-Gbps coefficient to its 1323-byte, 50-km example, then labels the conclusion 8 Gbps. Its own rule gives about 650 credits at 16 Gbps and 325 at 8 Gbps; literal upward rounding gives 651 and 326. The frame-size convention and approximation differ from FCIA's example. Do not mix either rule with an unexamined wire-rate or application-byte count. [13] (Long-Distance ISLs)

A pause is not a deadlock diagnosis

Credit starvation means a ready sender is waiting for credit. A count of transitions to zero is not elapsed blocked time: preserve the counter definition, direction and measurement interval. Check credit-return delay and loss alongside downstream consumption. [13]

The 1996 paper's topology-throughput bound assumes uniform random traffic and infinite buffering. Its separate dependency-graph analysis concerns deadlock. Neither is a measured credit allocation for a present-day switch; a finite window calculation cannot establish deadlock freedom. [10] (sections 2.1 and 3)

Compared to neighbors

Use link counters to investigate the path, command responses to investigate the operation, and the storage stack's persistence contract to evaluate durable writes.

Seven observations, seven different meanings
ObservationWhat it tells youWhat remains to check
Frame CRC checkIntegrity check over the covered frame content [16]Address, generation and persistence of stored data
Sequence identifiersHow frames belong to a sequence [15]Correct context and complete reassembly
Exchange identifiersAssociation of related sequences [15]Command response, status and recovery handling
Returned BB creditA receive-buffer slot is available [13]End-to-end command completion and storage durability
Active fabric-port policyPermitted port relationships, subject to actual enforcement [23]Logical-unit mapping and storage permissions
Mapped LUNSelected initiators may access the logical unit [25]Shared-writer coordination and recovery
Multiple authorized hostsThe same mapping can permit more than one host [25]Whether the application or file system coordinates concurrent updates

Uncertainty notes

  • Source-backed architectural explanation, not a fabric benchmark or a current product comparison.
  • The RFCs are dated architecture and encapsulation sources; Linux references are pinned to v6.12. Cisco behavior and configuration details are scoped to the cited MDS guide.

Sources

  1. 01Zhu et al. Congestion Control for Large-Scale RDMA Deployments. SIGCOMM 2015, section 4 (Buffer Settings). DOI 10.1145/2785956.2787484. · accessed 2026-11-29
  2. 02IEEE 802.1 DCB task-group overview: discovery, PFC and ETS roles · accessed 2026-11-28
  3. 03HPE AOS-CX 10.16 QoS Guide, 8400: DCBx operation and guidelines · accessed 2026-11-28
  4. 04Intel OpenLLDP, pinned b3b93169: lldptool-ets attributes and operation · accessed 2026-11-28
  5. 05Intel OpenLLDP, pinned b3b93169: lldptool-pfc attributes and operation · accessed 2026-11-28
  6. 06Intel OpenLLDP, pinned b3b93169: lldptool-app attributes and operation · accessed 2026-11-28
  7. 07RFC 6847 (2013), section 1: FCF forwarding and virtual links; Informational independent submission · accessed 2026-11-28
  8. 08H3C S12500X-AF R28xx, FC and FCoE configuration: transit mode, FIP snooping and virtual-link maintenance · accessed 2026-11-28
  9. 09Cisco MDS 9000 FCoE Configuration Guide, Release 8.x: FIP virtual links, frame formats and DCBX · accessed 2026-11-28
  10. 10Ludmila Cherkasova, Vadim Kotov and Tomas Rokicki. Fibre Channel Fabrics: Evaluation and Design. HICSS 1996, sections 2.1 and 3. DOI 10.1109/HICSS.1996.495447. Author-uploaded full text. · accessed 2026-10-19
  11. 11RFC 4338 (January 2006), sections 2.1-2.4: Fibre Channel architecture summary · accessed 2026-10-19
  12. 12Linux v6.12: fc_fs.h frame layout, identifiers and protocol types · accessed 2026-10-19
  13. 13Cisco MDS 9000 Interfaces Configuration Guide, Release 9.x: Buffer-to-Buffer Credits and Credit Recovery · accessed 2026-10-19
  14. 14Linux v6.12: fc_fcp.h, fcp_resp and SCSI status · accessed 2026-10-19
  15. 15FCIA: Inside a Modern Fibre Channel Architecture, Part 2 (2021), slides 7, 19, 23-31, 35 and 38 · accessed 2026-10-19
  16. 16RFC 3643 (December 2003), sections 2, 4 and 5: transit time, frame content and delimiter representation · accessed 2026-11-02
  17. 17Linux v6.12: libfc fc_lport.c, direct point-to-point FLOGI handling · accessed 2026-10-19
  18. 18FCIA: Fibre Channel Data Center Interconnects: 64G FC and More (18 July 2024), slides 19-23 · accessed 2026-10-19
  19. 19RFC 3821 (July 2004): FCIP, sections 4, 5.2, 5.6, 6, 8.3.2, 8.4, 8.5 and 10.1 · accessed 2026-11-02
  20. 20RFC 4172 (September 2005): iFCP session model, section 5.2.1 · accessed 2026-11-02
  21. 21RFC 6172 (March 2011): iFCP mode deprecation and FCIP protocol number, sections 3.2 and 4 · accessed 2026-11-02
  22. 22RFC 7146 (April 2014): IPsec requirements update for storage protocols · accessed 2026-11-02
  23. 23Cisco MDS 9000 Series Fabric Configuration Guide, Release 9.x: Configuring and Managing Zones, Zone Enforcement and Zoning Types · accessed 2026-11-03
  24. 24Cisco: Enabling Cisco HyperFlex Systems to Coexist with Fibre Channel Shared Storage, Cisco MDS multilayer switches · accessed 2026-11-03
  25. 25NetApp ONTAP 9: Learn about ONTAP SAN igroups · accessed 2026-11-03
  26. 26Eric A. Hibbard. Storage Security: Fibre Channel Security. SNIA and FCIA, version 2.0, 14 February 2024, sections 3.2-3.3.1 and 4.2 · accessed 2026-11-03
  27. 27Cisco MDS 9000 Series Security Configuration Guide, Release 9.x: Configuring FC-SP and DHCHAP, About DHCHAP Authentication Modes · accessed 2026-11-03
  28. 28RFC 5324 (September 2008), sections 3.4.1-3.4.3: authentication, security associations and fabric security policies · accessed 2026-11-03

Published by Hesela team

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Fibre Channel. Hesela. https://hesela.com/tech/fibre-channel/