i40e_get_settings_link_down(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Okay so this is a page from the Kernel API Manual, and it's all about i40e_get_settings_link_down. It's lowkey a glow-up for your link settings when the cable's being dramatic and the link is down πŸ’…


✨ NAME ✨

i40e_get_settings_link_down β€” get the link settings for when the link is down, periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

void i40e_get_settings_link_down (struct i40e_hw *hw , struct
ethtool_link_ksettings *ks , struct i40e_pf *pf );

Not me writing out that whole signature for you 🫢 β€” she takes three things and returns void, meaning she's doing the work by filling stuff in, not handing you a value back. Iconic behavior ngl.


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” the hw structure. Your hardware bestie, the one who knows things 🌸
  • ks β€” the ethtool ksettings to fill in. This is the one getting the makeover, literally the main character here πŸ‘‘
  • pf β€” pointer to the physical function struct. She's the PF, she's got the vibes, she's required πŸ’œ

🌈 DESCRIPTION 🌈

So what does she actually do? She reports link settings that can be determined when the link is down ✨

That's it, that's the whole assignment. No cap. When the link is up there's a whole other function doing the reporting, but this one is for the down-bad era β€” she digs up whatever settings are still knowable even with no link up, and puts them where they need to go 😭


πŸ’€ SEE ALSO πŸ’€

Sit down bestie, this list is long β€” like, a whole friend group. Same file (./drivers/net/ethernet/intel/i40e/i40e_ethtool.c), lots of struct i40e_stats(9) energy, and honestly every single one of these fam members is listed here, no skipping πŸ“:

Fr fr, note that the SEE ALSO block also points at the kernel file ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c β€” that's where the whole squad lives 🧚

🌸 SIGN-OFF 🌸

And that's the page!! Sourced from ./drivers/net/ethernet/intel/i40e, dated October 2026, all about i40e_get_settings_link_down(9). Go read your link settings, bestie πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from