-
FC (Fibre Channel) Overview
-
Fibre Channel Topologies
-
FC Addressing, Layers and Flow Control
-
FC Interface & Protocols
-
FC Zoning & Data transfer
FC (Fibre Channel) Flow Control is what keeps data moving efficiently and without loss across a Fibre Channel (FC) network. FC is a lossless protocol, so it depends on flow control to stop buffers from overflowing and to keep traffic running smoothly.
- 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).
- Each device is given a set number of buffer credits (BB_Credits).
- A device is only allowed to send a frame while it still has a credit left.
- When the receiving device has processed a frame and cleared it from its buffer, it sends back an R_RDY (Receiver Ready) primitive signal, which gives the credit back. R_RDY is not an acknowledgment frame; it only says one buffer is free again.
- 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 control congestion along a whole FC path.
- Works like B2B credit, but between the two ends of the path instead of hop by hop.
- Priority Flow Control (PFC)
- Used in converged networks such as FCoE (Fibre Channel over Ethernet).
- Keeps Fibre Channel traffic lossless over Ethernet by pausing lower-priority traffic while FC traffic keeps flowing.
- Prevents Frame Loss: FC doesn’t retransmit packets the way TCP/IP does, so flow control is there to make sure frames are never dropped.
- Optimizes Performance: when credits are managed well, the link’s bandwidth gets used fully.
- Maintains Low Latency: it keeps congestion and delays out of the network.
- Ensures Reliable Data Transfer: storage-heavy workloads like databases and virtualized environments depend on it.
-
What happens when a server needs to save a database file to the storage array? Let’s walk through the exact steps:
-
The Request (Layer 4): The server’s operating system says, “Save this file.” It sends a standard storage command to the HBA card.
-
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.
-
Encoding & Transmission (Layers 1 & 0): The HBA converts those frames into tiny flashes of light and shoots them down the fiber optic cable.
-
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.
-
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.
-
The Receipt: The Storage Array sends a strict confirmation message back.
-
Interview questions
Click a question to open it. Each one is worded the way an interviewer would ask it, and under it you’ll find why they ask it and one way you could answer in your own words.
Fresher level
1. Can you explain in simple words how buffer-to-buffer credits work?
Why they ask this: Buffer credits sit at the centre of FC flow control, and they want to see you understand the idea and not only the term.
How you might answer: Each side of a link tells the other how many empty buffers it has, and that count is the credit. The sender can only send a frame while it has a credit, and every frame uses one up.
When the receiver clears a frame out of its buffer it sends back an R_RDY signal, which hands the sender one credit back. Think of a parking lot that lets a car in only when a space opens up.
2. What’s the difference between buffer-to-buffer credit and end-to-end credit?
Why they ask this: It checks whether you know that FC flow control works at two levels.
How you might answer: Buffer-to-buffer credit works hop by hop between two ports that are cabled together, like a host and a switch or two switches. End-to-end credit works between the source and the final destination, for example the server and the storage array.
Day to day, buffer-to-buffer credits are the ones you’ll actually see and troubleshoot.
2–5 years experience
3. One slow host is causing high latency for other servers on the same switch. How could flow control explain that?
Why they ask this: Slow drain is a real and common FC problem that hits many hosts at once, and they want to see if you understand it.
How you might answer: When a host is slow to give credits back, frames meant for it sit waiting in the switch buffers. Those buffers, and the ISLs carrying that traffic, fill up, so other hosts on the same path end up waiting as well and the problem spreads.
I’d check the switch port stats for that host with porterrshow and portshow on Brocade to find credit problems and errors. Then I’d go after the cause, which is often an old HBA driver or firmware, a bad cable or a host that’s overloaded.
4. Why would a long-distance ISL between two sites need more buffer credits than a short one?
Why they ask this: It’s a real design question that comes up with replication links, and they want to see you apply credit theory to it.
How you might answer: Over a long link, frames take longer to get there and the R_RDY takes longer to come back. If there aren’t enough credits, the sender runs out, stops and waits, and the link never gets to full speed.
Long-distance links need more credits so enough frames stay in flight. Most switches have a long-distance setting on the port that gives it extra credits, and I’d set that based on the distance and the speed.
Senior level
5. How does FCoE keep Fibre Channel traffic lossless on Ethernet, and what would worry you in that design?
Why they ask this: They want to see you understand Priority Flow Control and the risks that come with mixing storage and network traffic.
How you might answer: FCoE depends on Priority Flow Control, which can pause one traffic class on Ethernet so storage frames don’t get dropped while everything else carries on. Every switch and adapter in the path has to support it and be configured the same way.
What would worry me is configuration mistakes and shared ownership. A single switch with the wrong PFC settings can cause drops or pauses across the whole path, so I’d want clear standards, proper testing and the storage and network teams working closely together.
6. The lesson says FC never drops frames. Would you put it that way in a design review?
Why they ask this: They want to see you know where FC’s lossless design has limits, and that you can say it precisely.
How you might answer: I’d say FC is designed not to drop frames because of congestion, thanks to credit-based flow control. Frames can still get lost, though, for example when bad cables cause errors, or when a frame sits too long in a congested switch and is thrown away.
FC doesn’t resend lost frames on its own like TCP does, so the SCSI layer has to time out and retry, and users feel that as a pause. That’s why I keep a close eye on error counters and congestion instead of assuming the fabric is perfect.
Further reading: FC (Fibre Channel) Flow Control
If you want to go further with flow control, the official reference is a good place to start: Fibre Channel Industry Association (FCIA). You can also work through the full FC (Fibre Channel) Fundamentals course on SaatVedha in order.
