__nfp_eth_set_txpause(9)
π
__nfp_eth_set_txpause β NAME π
okay bestie, so this is a page straight outta the Kernel API Manual, and it's all about __nfp_eth_set_txpause β which sets the tx pause control bit β¨ like that's literally its whole job and it ate.
π SYNOPSIS π
int __nfp_eth_set_txpause (struct nfp_nsp *nsp , unsigned int tx_pause
);
yes the formatting is a little cursed with that space before the comma, no i will not be fixing it, it's iconic as-is π
πΈ ARGUMENTS πΈ
nspβ the NFP NSP handle, which you get fromnfp_eth_config_startπ«Ά like it's your little entry ticket, don't lose it.tx_pauseβ the TX pause switch. that's the thing you're flipping, bestie π
π¦ DESCRIPTION π¦
Set the TX pause switch. that's it. that's the whole vibe π no cap, it does exactly one thing and it does it slayfully.
β RETURN β
Returns 0 or -ERRNO. so likeβ¦ success or a sad little error number, iykyk π
π SEE ALSO π
- the kernel file
./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.cβ go read it, it's giving main character energy 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_rxpause(9)nfp_eth_set_pauseparam(9)__nfp_eth_set_speed(9)__nfp_eth_set_split(9)
the whole friend group fr fr π«Ά every single one of them, we don't leave anyone out π
ngl this page lives at ./drivers/net/ethernet/netrono... (yes it's truncated, that's how the original rolls, don't come for me π) and it's dated October 2026 β mwah, periodt π
β¨
k bye bestie, go set that tx pause bit ππ
π¦ 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