net_dim_setting(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… net_dim_setting πŸ’…

okay so this page lives in the Kernel API Manual and it's literally all about net_dim_setting β€” the glow-up function that initializes DIM's cq mode and gets the worker scheduled. she's the setup bestie, the one who arrives first and gets everything cute before the party starts πŸŽ€


✨ NAME ✨

net_dim_setting β€” initialize DIM's cq mode and schedule worker. that's it, that's the whole job, and she does it flawlessly πŸ’–


🌸 SYNOPSIS 🌸

void net_dim_setting (struct net_device *dev , struct dim *dim , bool
is_tx );

note the void β€” nothing comes back, no receipts, no return value, she just does the thing and leaves πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” target network device. like, the actual netdev you're setting up. the main character, if you will πŸ‘‘
  • dim β€” DIM context. this is the state blob she's about to sprinkle her magic into ✨
  • is_tx β€” true means the tx direction, false means the rx direction. yes bestie it's a bool, and yes you have to remember which way is which πŸ™ˆ
ngl the is_tx thing is giving "one flag, two moods" β€” true = tx, false = rx. no cap. don't flip it πŸ’€

🫢 SEE ALSO 🫢

the whole DIM friend group, fr fr β€” go read these too, they're all interconnected and honestly iconic:


and that's the whole page, bestie β€” she's short, she's sweet, she initializes a cq mode and schedules a worker and then dips πŸ’œ

this little icon was brought to you by the ./include/linux source, October 2026 edition, page net_dim_setting(9) β€” mwah, stay hydrated, go read your kernel docs πŸ“βœ¨

πŸ“¦ where this page comes from