dev_deactivate_many(9)
π dev_deactivate_many(9) β like, the Kernel API Manual one π
okay so bestie, buckle up, we're in the Kernel API Manual today and this one is lowkey important π
β¨ NAME β¨
dev_deactivate_many β deactivate transmissions on several devices π¦
Like, several devices. Not one. Many. plural. the way that this function said "group project" and meant it π
πΈ SYNOPSIS πΈ
void dev_deactivate_many (struct list_head *head , bool reset_needed );
that's literally it. two args. no cap, no hidden extras. she's simple, she's iconic π«Ά
π ARGUMENTS π
headβ a list of devices to deactivate β¨ like the guest list, but for transmission shutdown πreset_neededβ abool, and if it'strue, the qdisc should be reset π₯ yes bestie, the qdisc. reset her. if it's true, anyway. otherwise mind your business π
π DESCRIPTION π
okay so here's the vibe check: this function returns only when all outstanding transmissions have completed β like she will not leave the group chat until everyone's messages have been delivered, periodt.
BUT π β and this is the one caveat β that's unless all devices are in dismantle phase. if every single device is in dismantle phase, then nope, that guarantee does not apply. fr fr, read it again so you don't get caught out π
so yeah: outstanding transmissions completed β she comes back. all devices in dismantle phase β that's the exception, don't @ me π
π§ SEE ALSO π§
- Kernel file
./net/sched/sch_generic.cπ (the source of truth, the main character) netif_carrier_on(9)πΈnetif_carrier_off(9)πΈnetif_carrier_event(9)πΈpsched_ratecfg_precompute__(9)π (yes the double underscore is real, don't come for me)
π a tiny reminder from me to you: theheadlist goes in, andreset_neededis a plain oldboolβtruemeans reset the qdisc, and that's the whole assignment bestie β¨
π and that's the page! brought to you by ./net/sched, dated October 2026, and yes she closes it out with dev_deactivate_many(9) like the queen she is. iykyk πβ¨π¦
π¦ 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