__nfp_eth_set_rxpause(9)
β¨ __nfp_eth_set_rxpause β kernel API manual energy β¨
okay so bestie, welcome to the Kernel API Manual entry for __nfp_eth_set_rxpause, and no cap this one is short and sweet but it's still doing important work π
πΈ NAME πΈ
__nfp_eth_set_rxpause β set rx pause control bit
literally that's the whole gig. it sets the bit. it's giving "small function, big responsibility" π
π¦ SYNOPSIS π¦
int __nfp_eth_set_rxpause (struct nfp_nsp *nsp , unsigned int rx_pause
);
yes the signature really does wrap like that, she's a little dramatic but we love her π«Ά
π ARGUMENTS π
nspβ the NFP NSP handle, which you get back fromnfp_eth_config_start. like, please don't just make one up, get it from the function, iykyk πrx_pauseβ the RX pause switch. this is the thing you're flipping, bestie.
π DESCRIPTION π
Set RX pause switch.
that's it. that's the description. she's concise, she's iconic, she ate and left no crumbs π
fr fr though β if you were looking for a ten-paragraph lore dump, this is not that page. it sets the switch. periodt.
π RETURN π
Returns 0 or -ERRNO.
so: 0 means slay, and anything negative-ish in the -ERRNO family means it did not slay, and you should go read the errno and figure out what happened π
π SEE ALSO π
- the kernel file
./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.cβ that's where she lives π 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)β the tx sibling, the way that the two of them are a matching set π§nfp_eth_set_pauseparam(9)__nfp_eth_set_speed(9)__nfp_eth_set_split(9)
like genuinely go read all of these, the whole nfp_nsp_eth.c friend group is highkey fascinating β
okay and before you go β this whole page comes from ./drivers/net/ethernet/netrono... and it's dated October 2026, and it's filed under __nfp_eth_set_rxpause(9). mwah, take care of her, she's a tiny function but she's main character energy π
π
π¦ 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