STRUCT DIM_CQ_MODER(9)
π struct dim_cq_moder(9) π
okay so this is a page straight out of the Kernel API Manual, and bestie, it's a little struct with a big job π«Ά
β¨ NAME β¨
struct dim_cq_moder β the structure for CQ moderation values, no cap. It's the little messenger that carries info back and forth between DIM and whoever's consuming it π (comms between DIM and its consumer, that's the whole vibe).
πΈ SYNOPSIS πΈ
struct dim_cq_moder {
u16 usec;
u16 pkts;
u16 comps;
u8 cq_period_mode;
struct rcu_head rcu;
};
literally five fields, look at her go π
π¦ Members π¦
usecβ the CQ timer suggestion, and yes it's DIM doing the suggesting πpktsβ the CQ packet counter suggestion, again hand-picked by DIM β¨compsβ the completion counter, just counting completions like it's her job πcq_period_modeβ the CQ period count mode, and it comes from the CQE/EQE πrcuβ anrcu_head, there so you can do an asynchronouskfree_rcuπ§
π SEE ALSO π
Kernel file ./include/linux/dim.hstruct dim_irq_moder(9)struct dim_sample(9)struct dim_stats(9)struct dim(9)enum dim_cq_period_mode(9)enum dim_state(9)enum dim_tune_state(9)enum dim_stats_state(9)enum dim_step_result(9)net_dim_init_irq_moder(9)net_dim_free_irq_moder(9)net_dim_setting(9)net_dim_work_cancel(9)net_dim_get_rx_irq_moder(9)net_dim_get_tx_irq_moder(9)net_dim_set_rx_mode(9)net_dim_set_tx_mode(9)dim_on_top(9)dim_turn(9)dim_park_on_top(9)dim_park_tired(9)dim_calc_stats(9)dim_update_sample(9)dim_update_sample_with_comps(9)net_dim_get_rx_moderation(9)net_dim_get_def_rx_moderation(9)net_dim_get_tx_moderation(9)net_dim_get_def_tx_moderation(9)net_dim(9)rdma_dim(9)
i meanβ¦ that's a whole friend group, go read them all, iykyk ππ₯
and that's the page, bestie! π this one lives in ./include/linux, dated October 2026 β mwah, stan a kernel manpage that's this organized ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms