ethtool_link...el_link_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this little page is from the Kernel API Manual, and we're about to make a link-mode bit get gone. no cap. πŸ’…

NAME

ethtool_link_ksettings_del_link_mode β€” clear bit in link_ksettings link mode mask. That's literally the whole vibe: it clears a bit in the link_ksettings link mode mask. ✨

SYNOPSIS

ethtool_link_ksettings_del_link_mode (ptr , name , mode );

ARGUMENTS

  • ptr β€” pointer to struct ethtool_link_ksettings. Like, hand over the struct, bestie. 🫢
  • name β€” one of supported/advertising/lp_advertising. Pick your lane.
  • mode β€” one of the ETHTOOL_LINK_MODE_*_BIT (not atomic, no bound checking). So that's the mode; don't get cute with it.
⚠️ real talk: mode is not atomic and has no bound checking. The manpage says it, I'm just repeating it with feeling. 😭

SEE ALSO

Kernel file ./include/linux/ethtool.h, plus the whole iconic extended universe:


source/version: ./include/linux Β· date: October 2026 Β· ethtool_link...el_link_mode(9) β€” ty for reading, ily, bye bestie πŸ’–βœ¨

πŸ“¦ where this page comes from