ENUM DIM_CQ_PERIOD_MODE(9)
π enum dim_cq_period_mode(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for enum dim_cq_period_mode, and it's literally just the vibe-check menu for how we count CQ periods. tiny page, but iconic. no cap.
πΈ NAME πΈ
enum dim_cq_period_mode β the modes for CQ period count π
β¨ SYNOPSIS β¨
enum dim_cq_period_mode {
DIM_CQ_PERIOD_MODE_START_FROM_EQE ,
DIM_CQ_PERIOD_MODE_START_FROM_CQE ,
DIM_CQ_PERIOD_NUM_MODES
};
like, that's the whole thing. three little members, main character energy, periodt π
π¦ Constants π¦
okay so here's the cast, one by one:
DIM_CQ_PERIOD_MODE_START_FROM_EQEβ start counting from EQE. that's it, that's the whole personality π«ΆDIM_CQ_PERIOD_MODE_START_FROM_CQEβ start counting from CQE. heads up tho: this one implies timer reset β±οΈ so like, not me changing the timer on you πDIM_CQ_PERIOD_NUM_MODESβ literally just the number of modes. it's giving "count the options" energy, and honestly? slay π₯
π SEE ALSO π
bestie there is a whole friend group here, and you're gonna want to meet all of them. the kernel file is ./include/linux/dim.h, and the linked faves are:
struct dim_cq_moder(9)struct dim_irq_moder(9)struct dim_sample(9)struct dim_stats(9)struct dim(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)
like, the whole squad fr fr ππ
β¨ that's the page, bestie β¨ this little gem lives in ./include/linux π§, dated October 2026 ποΈ, and it's filed under enum dim_cq_period_mode(9) β iykyk ππ¦πΈ go forth and count those periods π
π¦ 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