pch_gbe_get_link_ksettings(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual ✨ β€” this is the page for pch_gbe_get_link_ksettings, and yes it does exactly what it says on the tin: Get device-specific settings πŸŽ€. It's a little function, it's an icon, it's here to tell you how your NIC is feeling today 🫢.


🌸 NAME 🌸

pch_gbe_get_link_ksettings β€” get device-specific settings πŸ’–


✨ SYNOPSIS ✨

int pch_gbe_get_link_ksettings (struct net_device *netdev , struct
ethtool_link_ksettings *ecmd );

like, it takes two pointers and gives you back an int. no cap. πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” the network interface device structure πŸ‘‘ this is the NIC's whole main-character identity card.
  • ecmd β€” the ethtool command πŸ’… this is the lil' container the settings get to live in.

⭐ RETURN ⭐

  • 0 β€” successful, slay πŸŽ‰ we ate, everything went off without a hitch.
  • negative value β€” failed 😭 it's giving "something went wrong," and the negativeness is your vibe check telling you so.

πŸ’œ SEE ALSO πŸ’œ

kernel file ./drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c β€” that's where the lore lives πŸ“–

and the whole friend group πŸ’–:


fr fr bestie, read the neighbours too β€” the pch_gbe family is a package deal and they all hang out in the same directory πŸ§šβ€β™€οΈ

anyway, that's the whole page πŸ“. this masterpiece shipped from ./drivers/net/ethernet/oki-sem... (yes it's abbreviated in the original footer, bestie, don't come for me) and the date on it is October 2026, so it's literally from the future πŸ’€. stay iconic, go read your ethtool structs, mwah πŸ’‹πŸŒˆβ­

πŸ“¦ where this page comes from