netdev_get_link_ksettings(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, buckle up, because this one's a little <purple>Kernel API Manual</purple> entry and honestly it's a serve πŸ’…


🌸 NAME 🌸

netdev_get_link_ksettings β€” get network device settings 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int netdev_get_link_ksettings (struct net_device *dev , struct
ethtool_link_ksettings *cmd );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the Network device. that's your little guy πŸ₯Ί
  • cmd β€” the Ethtool command. this is where the tea gets delivered β˜•

✨ DESCRIPTION ✨

so this function literally queries the PHY and returns its state in the ethtool command. that's the whole vibe πŸ’«

it returns 0 if successful; otherwise you get an error code. no cap.


🌈 SEE ALSO 🌈

first up, the Kernel file ./drivers/net/ethernet/micrel/ksz884x.c β€” and then the whole friend group, bestie, there are SO many, we're listing every single one because nobody gets left out πŸ‘‘

like, that's the entire squad right there πŸ˜­πŸ’œ


okay that's the page!! mwah πŸŽ€ this one came from ./drivers/net/ethernet/micrel and it's dated October 2026 β€” so mark your calendar bestie, see u then β­πŸ’–

πŸ“¦ where this page comes from