FC (Fibre Channel) Flow Control is a mechanism that ensures data is transmitted efficiently and without loss in a Fibre Channel (FC) network. Since FC is a lossless protocol, it relies on flow control techniques to prevent buffer overflows and ensure smooth data transmission.

  1. Buffer-to-Buffer Credit (B2B Credit)
    • Used for flow control between directly connected FC devices (e.g., between a host and a switch or between two switches).
    • Works by assigning a certain number of buffer credits (BB_Credits) to each device.
    • A device can only send frames if it has available buffer credits.
    • Once the receiving device processes and clears frames from its buffer, it sends an acknowledgment (R_RDY) to replenish the credit.
  2. End-to-End Credit (E2E Credit)
    • Used for flow control between the source and destination nodes (e.g., between a server and a storage array).
    • Helps manage congestion across an entire FC path.
    • Similar to B2B credit but operates on an end-to-end basis rather than hop-by-hop.
  3. Priority Flow Control (PFC)
    • Used in converged networks such as FCoE (Fibre Channel over Ethernet).
    • Ensures that Fibre Channel traffic is lossless over an Ethernet network by pausing lower-priority traffic while allowing FC traffic to continue.
  • Prevents Frame Loss: Since FC does not support packet retransmission like TCP/IP, flow control ensures frames are never dropped.
  • Optimizes Performance: Efficient credit management allows optimal use of available bandwidth.
  • Maintains Low Latency: Helps avoid congestion and delays in the network.
  • Ensures Reliable Data Transfer: Critical for high-performance storage applications such as databases and virtualized environments.
  • What happens when a server needs to save a database file to the storage array? Let’s walk through the exact steps:

    1. The Request (Layer 4): The server’s operating system says, “Save this file.” It sends a standard storage command to the HBA card.

    2. Packaging (Layer 2): The HBA takes that massive file and chops it up into smaller, manageable chunks called Frames. It slaps a strict routing header onto every single frame.

    3. Encoding & Transmission (Layers 1 & 0): The HBA converts those frames into tiny flashes of light and shoots them down the fiber optic cable.

    4. Routing (The Switch): The light hits the Fibre Channel Switch. The switch instantly reads the header and forwards the light pulses down the correct outgoing cable to the Storage Array.

    5. Receiving & Reassembling: The Storage Array catches the light, turns it back into frames, puts them back in order, and saves the file to its disks.

    6. The Receipt: The Storage Array sends a strict confirmation message back.

Scroll to Top