__nfp_eth_set_aneg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME

__nfp_eth_set_aneg(9) β€” set PHY autonegotiation control bit. Okay so this is from the Kernel API Manual, bestie, and it's literally the glow-up for your PHY autoneg bit ✨


πŸŽ€ SYNOPSIS

int __nfp_eth_set_aneg (struct nfp_nsp *nsp , enum nfp_eth_aneg mode );

πŸ¦‹ ARGUMENTS

  • nsp β€” the NFP NSP handle returned from nfp_eth_config_start. It's giving "you got this from config start" energy πŸ’…
  • mode β€” the desired autonegotiation mode. Yes ma'am, pick your mode 🌸

✨ DESCRIPTION

This lets you allow/disallow the PHY module to advertise/perform autonegotiation. Periodt. 🫢

And the important bit: it will write to hwinfo overrides in the flash (persistent config). So yeah, it's not just a little temporary vibe β€” it's persistent config, bestie πŸ’ΎπŸ’–


🌈 RETURN

0 or -ERRNO. That's it, that's the return section πŸ˜­πŸ‘‘


πŸ”₯ SEE ALSO


okay that's the whole page, bestie πŸ’… the footer says source/version ./drivers/net/ethernet/netrono... and date October 2026, and the manual name is Kernel API Manual. bye, go slay your autoneg config πŸŽ€πŸ¦‹πŸŒŸ

πŸ“¦ where this page comes from