net_dim_get_rx_irq_moder(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… net_dim_get_rx_irq_moder β€” get DIM rx results based on profile_ix ✨

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” yes, that's the whole manual name, and yes, this page is one tiny function from it. Let's get into it, it's literally so straightforward you'll be done before your iced coffee melts πŸ§ŠπŸ’–


🌸 NAME 🌸

net_dim_get_rx_irq_moder β€” get DIM rx results based on profile_ix πŸ¦‹

like, the entire personality of this function is "hand me the rx moderation numbers for this profile index." that's it. that's the vibe. ✨


✨ SYNOPSIS ✨

struct dim_cq_moder net_dim_get_rx_irq_moder (struct net_device *dev , struct dim *dim );

no cap, that's the whole signature β€” it returns a struct dim_cq_moder and takes two pointers. short king behavior πŸ‘‘πŸ’…


🫢 ARGUMENTS 🫢

  • dev β€” target network device 🌐 β€” the netdev we're doing this for, like, obviously.
  • dim β€” DIM context 🧠 β€” the DIM state hangout spot where all the moderation info lives.

two arguments. that's it. main character energy, minimal effort πŸŽ€


πŸ’œ RETURN πŸ’œ

DIM irq moderation πŸ”₯ β€” you get back a struct dim_cq_moder stuffed with the irq moderation goodies. slay.


πŸ¦‹ SEE ALSO πŸ¦‹

okay this section ate, there's a LOT of friends here β€” all of them live in the kernel file ./include/linux/dim.h πŸ“:

the way that list just keeps going 😭 go read them, iykyk πŸ’€βœ¨


ngl bestie, this one's a short page β€” but every single link above is real and worth a click. don't skip the cross-references, they're iconic πŸ§šβ€β™€οΈ

and that's a wrap, babe πŸ“ this page is from ./include/linux πŸ“, dated October 2026 πŸ—“οΈ, sitting pretty in the Kernel API Manual β€” mwah, stan the kernel docs, periodt πŸ’…πŸ’–πŸŒˆ

πŸ“¦ where this page comes from