ENUM DIM_STEP_RESULT(9)
π enum dim_step_result(9) β the Kernel API Manual, bestie edition π
okay so picture this: you're deep in the kernel, in the Kernel API Manual, and you've stumbled onto enum dim_step_result(9). Don't panic β it's actually so chill. It's giving "tiny enum, big feelings" energy and honestly it ate. Let's get into it π
β¨ NAME β¨
enum dim_step_result β the DIM algorithm step results. literally just "what happened when we took a step", that's the whole vibe π¦
πΈ SYNOPSIS πΈ
enum dim_step_result {
DIM_STEPPED ,
DIM_TOO_TIRED ,
DIM_ON_EDGE
};
yes bestie, three constants, no cap. here's the tea on each one π
π« Constants π«
DIM_STEPPEDβ we performed a regular step. iconic, normal, nothing weird. slay β¨DIM_TOO_TIREDβ the same kind of step was done multiple times, so likeβ¦ it should go to tired parking. she's exhausted, let her rest πDIM_ON_EDGEβ stepped all the way to the most left/right profile. edge case? no, edge girlie π
π¦ Description π¦
these describe the result of a step. that's it, that's the description β they're the little receipts telling you what a step actually did. short, sweet, main character energy π
π₯ SEE ALSO π₯
the whole squad, fr fr β and yeah, they all live in the kernel file ./include/linux/dim.h:
struct dim_cq_moder(9)struct 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)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)
go read them, iykyk π«Ά
π sign-off π
that's the whole page, bestie β brought to you by ./include/linux, dated October 2026, and filed under enum dim_step_result(9). periodt. ππΈ
π¦ 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