__nfp_eth_set_aneg(9)
π 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 fromnfp_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
- Kernel file:
./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_read_ports(9)nfp_eth_config_commit_end(9)nfp_eth_set_mod_enable(9)nfp_eth_set_configured(9)__nfp_eth_set_fec(9)nfp_eth_set_fec(9)__nfp_eth_set_txpause(9)__nfp_eth_set_rxpause(9)nfp_eth_set_pauseparam(9)__nfp_eth_set_speed(9)__nfp_eth_set_split(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms