__nfp_eth_set_txpause(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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