igb_check_polarity_igp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… igb_check_polarity_igp(9) πŸ’…

okay so this little icon is straight out of the Kernel API Manual, and it is literally here to check polarity. no cap, that's the vibe. πŸ’–

🌸 NAME 🌸

igb_check_polarity_igp β€” checks the polarity. that's it, that's the name, and honestly it ate. ✨

πŸŽ€ SYNOPSIS πŸŽ€

s32 igb_check_polarity_igp (struct e1000_hw *hw );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the HW structure. yes bestie, hand over the hardware struct and let the function do its little check. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

Success returns 0, Failure returns -E1000_ERR_PHY (-2). literally the whole exit-status mood: 0 = slay, -2 = not slay. 😭

Polarity is determined based on the PHY port status register, and the current speed (since there is no polarity at 100Mbps). so yeah, it peeks at the PHY port status register and the current speed, because at 100Mbps there is no polarity. periodt. πŸ’…

🌈 SEE ALSO 🌈

Kernel file: ./drivers/net/ethernet/intel/igb/e1000_phy.c

the whole friend group of related calls, exactly as listed, fr fr:


kisses bestie πŸ’‹ this page lives in ./drivers/net/ethernet/intel/igb, and the source/version + date vibes are October 2026. igb_check_polarity_igp(9) out. πŸŽ€βœ¨

πŸ“¦ where this page comes from