nfp_eth_set_pauseparam(9)
π nfp_eth_set_pauseparam(9) π
okay so bestie, buckle up β this one's from the Kernel API Manual and it's genuinely iconic in a nerdy way. we're flipping the TX/RX pause switches on an NFP ethernet port. that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
nfp_eth_set_pauseparam β Set TX/RX pause switch.
like literally that's it, that's the job. two little switches, one call, no cap π
π¦ SYNOPSIS π¦
int nfp_eth_set_pauseparam (struct nfp_cpp *cpp , unsigned int idx ,
unsigned int tx_pause , unsigned int rx_pause );
four args, one int coming back at you. main character energy tbh β¨
π ARGUMENTS π
cppβ the NFP CPP handle. your lil passport to the chip, y'know? iykyk πͺͺidxβ the NFP chip-wide port index. which port are we talking to, bestie? πtx_pauseβ the TX pause switch. transmit side, slay πrx_pauseβ the RX pause switch. receive side, also slay π
πΈ RETURN πΈ
0β configuration successful π ate and left no crumbs1β no changes were needed π the switches were already switching, we love an efficient queen-ERRNOβ configuration failed π something went off, check the errno for the deets
fr fr, 1 is not an error, it's just "bestie we were already there". don't panic π
π SEE ALSO π
the source lives in the kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c β go read it if ur feeling brave π
and here's the whole friend group, all of them:
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_speed(9)__nfp_eth_set_split(9)
go stan them all π
and that's the page bestie π§β¨ sourced from ./drivers/net/ethernet/netrono... and dated October 2026 β periodt, bookmark it, mwah π
π
π¦ 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