__nfp_eth_set_split(9)
π
__nfp_eth_set_split(9) π
okay so this is a page from the Kernel API Manual β yes the actual kernel API manual, we're in the big leagues now bestie π
β¨ NAME β¨
__nfp_eth_set_split β set interface lane split πΈ
π¦ SYNOPSIS π¦
int __nfp_eth_set_split (struct nfp_nsp *nsp , unsigned int lanes );
π ARGUMENTS π
nspβ the NFP NSP handle you got back fromnfp_eth_config_startπ«Άlanesβ how many lanes per port you want, bestie β
π DESCRIPTION π
Sets the number of lanes in the port. Like, it literally writes to the hwinfo overrides in the flash β so yeah, that's persistent config, meaning it sticks around ππ no takies-backsies.
fr fr, this one touches the flash. Persistent = permanent-ish. Act accordingly π
π₯ RETURN π₯
0 or -ERRNO. That's it, that's the whole vibe check π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c β and the whole friend group:
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_aneg(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)
π mwah, that's the page! shipped straight out of ./drivers/net/ethernet/netrono... and dated October 2026, and yeah the header says __nfp_eth_set_split(9) top and bottom because the kernel likes symmetry, iconic behavior honestly πβ¨
π¦ 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