STRUCT DIM_IRQ_MODER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ struct dim_irq_moder(9) β€” the Kernel API Manual glow-up ✨

okay so bestie, welcome to the struct dim_irq_moder page from the Kernel API Manual πŸ’… this one's a struct, not a function, so think of it less as "a thing you call" and more as "the little clipboard where we write down everything we know about irq moderation" πŸŽ€


✨ NAME ✨

struct dim_irq_moder β€” the structure for irq moderation information. literally its whole job is to collect irq moderation related information together, iykyk 🫢


🌸 SYNOPSIS 🌸

struct dim_irq_moder {
    u8 profile_flags;
    u8 coal_flags;
    u8 dim_rx_mode;
    u8 dim_tx_mode;
    struct dim_cq_moder *rx_profile;
    struct dim_cq_moder *tx_profile;
    void (*rx_dim_work)(struct work_struct *work);
    void (*tx_dim_work)(struct work_struct *work);
 };

she's got four u8 fields up top, two struct dim_cq_moder * pointers in the middle, and two function pointers at the bottom, no cap πŸ’–


πŸ¦‹ Members πŸ¦‹

here's the member-by-member breakdown, bestie β€” every single one, nothing skipped:

  • profile_flags β€” these are the DIM_PROFILE_* flags, living their best life 🌈
  • coal_flags β€” the DIM_COALESCE_* flags, and note it's for Rx and Tx, both of them, together, iconic πŸ”₯
  • dim_rx_mode β€” Rx DIM period count mode: it's either CQE or EQE πŸ‘‘
  • dim_tx_mode β€” Tx DIM period count mode: again, CQE or EQE ⭐
  • rx_profile β€” the DIM profile list for Rx πŸ“‹
  • tx_profile β€” the DIM profile list for Tx πŸ“‹
  • rx_dim_work β€” the Rx DIM worker, and it gets scheduled by net_dim 🧚
  • tx_dim_work β€” the Tx DIM worker, also scheduled by net_dim 🧚
fr fr every one of those matters β€” if you're touching moderation profiles, this struct is where all the receipts live πŸ’€

πŸ’œ SEE ALSO πŸ’œ

so much cross-referencing, we love a connected ecosystem 🌸 the kernel file itself lives at ./include/linux/dim.h, and then go read:


okay that's the whole page, you ate that πŸ’… mwah 🫢

sign-off time: this one ships from ./include/linux πŸ“ dated October 2026 πŸ—“οΈ and it's page struct dim_irq_moder(9) of the Kernel API Manual β€” periodt πŸ’–βœ¨

πŸ“¦ where this page comes from