set_rx_intr_params(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… set_rx_intr_params β€” a Kernel API Manual moment (yes, that's the manual name, we keep the branding bestie) πŸ’…

✨ NAME ✨

set_rx_intr_params β€” sets a net devices's RX interrupt holdoff paramete!

ok so before anyone comes for me: the original page literally says "paramete!" with the exclamation mark and everything 😭 that's not me being quirky, that's just what it says, and I refuse to edit the ancestors. Slay of them to ship it.

🌸 SYNOPSIS 🌸

int set_rx_intr_params (struct net_device *dev , unsigned int us ,
       unsigned int cnt );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the network device. the main character, the one we're setting stuff on πŸ’–
  • us β€” the hold-off time in us, or 0 to disable timer
  • cnt β€” the hold-off packet count, or 0 to disable counter

πŸŽ€ DESCRIPTION πŸŽ€

So basically: this sets the RX interrupt hold-off parameters for a network device. that's the whole vibe. you bring the device, you bring your timer value, you bring your packet count, and it handles the holdoff situation. periodt. ✨

heads up, it returns int per the synopsis but the page doesn't tell you what the return values mean β€” so no cap, I'm not gonna make up numbers for you πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c

like a little friend group of functions fr fr, go say hi to all of them 🫢


πŸ“ little PSA: the page doesn't say what happens on a bad arg or what it returns, so if that's your question, the answer is "read the source babe", not "trust the group chat" πŸ’€

and that's the whole page bestie, short and sweet like a good git commit message πŸ§šπŸ’œ this little love letter to the kernel came from the Kernel API Manual, pulled from ./drivers/net/ethernet/chelsio... and dated October 2026 β€” archive it, cite it, frame it on your wall, whatever slays πŸ’–πŸŒΈβœ¨

set_rx_intr_params(9) β€” that's a wrap ✨

πŸ“¦ where this page comes from