__nfp_eth_set_split(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __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 from nfp_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:


πŸ’œ 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