ethnl_update_irq_moder(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

ethnl_update_irq_moder β€” bestie, this is the one that updates, like, one specific field in the given profile πŸ’…

okay so real quick before we dive in: this page lives in the Kernel API Manual (yes ma'am, the kernel has lore too 🧚), and it's all about poking exactly one field in a profile and nothing else. one field. that's the whole gig. iconic behaviour, honestly.


🌸 SYNOPSIS 🌸

int ethnl_update_irq_moder (struct dim_irq_moder *irq_moder , u16
*irq_field , u16 attr_type , struct nlattr **tb , u8 coal_bit , bool
*mod , struct netlink_ext_ack *extack );

like, look at all those params 🫢 seven of them. she's thorough. we love a thorough queen.


πŸŽ€ ARGUMENTS πŸŽ€

  • irq_moder β€” the place that collects all the DIM-related information πŸ“ think of it as the lil basket where the dim stuff lives.
  • irq_field β€” the field in the profile you actually wanna modify. yes, this one. the chosen one πŸ‘‘
  • attr_type β€” the attr type, and it's ETHTOOL_A_IRQ_MODERATION_* (star included, it's a family of types, iykyk).
  • tb β€” the netlink attribute holding the new values, or null. null is a valid vibe here, no cap πŸ™ˆ
  • coal_bit β€” a DIM_COALESCE_* bit, taken from coal_flags.
  • mod β€” a pointer to bool, and it's there for modification tracking πŸ’€ (she's watching. she knows if you changed something.)
  • extack β€” the netlink extended ack.

πŸ”₯ RETURN πŸ”₯

0 on success, or a negative error code if things go sideways 😭 that's it, that's the whole return situation.

no cap: a negative error code means not success. please check it. your future self will thank you 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

go read those too, they're literally in the same friend group ✨


and that's the page, bestie πŸŽ€ this lil masterpiece comes courtesy of the source/version ./net/ethtool, dated October 2026, and yes, she's officially titled ethnl_update_irq_moder(9) β€” slay, periodt πŸ’œ

πŸ“¦ where this page comes from