__nfp_eth_set_rxpause(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ __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 from nfp_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 🌈

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