net_dim_set_rx_mode(9)
π net_dim_set_rx_mode β the kernel API manual, bestie edition β¨
okay so welcome to net_dim_set_rx_mode(9), one of those little kernel gems from the net_dim family π this whole page lives in the Kernel API Manual, and honestly? she's short but she matters.
πΈ NAME πΈ
net_dim_set_rx_mode β literally just sets the DIM rx cq mode. that's the whole job. no cap, she does one thing and she does it π
β¨ SYNOPSIS β¨
void net_dim_set_rx_mode (struct net_device *dev , u8 rx_mode );
returns nothing (void, she gives nothing back emotionally π), takes a net device and a mode. quick, clean, iconic.
π¦ ARGUMENTS π¦
devβ the target network device. like, the actualstruct net_device *you're pointing at. your main character device, if you will πrx_modeβ the target rx cq mode, and it's au8so keep it smol and well-behaved π
π SEE ALSO π
the whole friend group, fr fr β this is the Kernel file ./include/linux/dim.h crew and they're all linked below:
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)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_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)
bestie note: that's the entire list, every single one β don't come for me about the length, iykyk π
and that's the page!! π«Ά the whole thing lives under ./include/linux, dated October 2026, and yes this is your girl net_dim_set_rx_mode(9) signing off β slay, go set some rx cq modes, mwah ππ§ββοΈ
π¦ 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