igc_force_mac_fc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… igc_force_mac_fc πŸ’…

okay so welcome to the igc_force_mac_fc(9) page from the Kernel API Manual, bestie β€” yes, the actual Kernel API Manual, and this function is lowkey doing MAC flow-control glamour work. ✨


🌸 NAME 🌸

igc_force_mac_fc β€” force the MAC's flow control settings, periodt πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

s32 igc_force_mac_fc (struct igc_hw *hw );

πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW structure, aka your little handle to the hardware situation 🫢

✨ DESCRIPTION ✨

So this one literally forces the MAC's flow control settings. It sets the TFCE and RFCE bits in the device control register so they reflect the adapter settings β€” yes, those exact bits, no cap.

TFCE and RFCE need to be explicitly set by software when a copper PHY is used, because autonegotiation is managed by the PHY rather than the MAC. Software must also configure these bits when link is forced on a fiber connection. That's the whole vibe check: software has to do the setting in those cases. πŸ’–


🌈 SEE ALSO 🌈

Kernel file:

./drivers/net/ethernet/intel/igc/igc_mac.c

also go peek at these besties:


cute sign-off time: this page lives under ./drivers/net/ethernet/intel/igc, dated October 2026, and it's igc_force_mac_fc(9) β€” bye bestie, slay your flow control πŸ’–βœ¨

πŸ“¦ where this page comes from