STRUCT DIM_CQ_MODER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” an rcu_head, there so you can do an asynchronous kfree_rcu 🧚

πŸ’œ SEE ALSO πŸ’œ

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