ice_shutdown_all_ctrlq(9)
π ice_shutdown_all_ctrlq β the whole control-queue shutdown moment β¨
Okay bestie, listen, this one's from the Kernel API Manual and it's literally the function that shuts down all the control queues at once. Iconic. Let's get into it π«Ά
β¨ NAME β¨
ice_shutdown_all_ctrlq β the shutdown routine for all control queues. Yes, all of them. She does not do partial. π
πΈ SYNOPSIS πΈ
void ice_shutdown_all_ctrlq (struct ice_hw *hw , bool unloading );
That's it. Two args, no return value (void), clean and simple, we love a low-maintenance signature π
π¦ ARGUMENTS π¦
hwβ a pointer to the hardware structure. That's your hardware bestie right there.unloadingβ aboolthat tells us whether the driver is unloading itself. Basically "are we leaving for real or just stepping out for a sec?" π
π NOTE π
Big important thing, no cap: this function does not destroy the control queue locks. So if you were expecting her to clean up everything, she's not that girl.
The driver may call this at runtime to shut down and then later restart the control queues β like, for example, in response to a reset event. So it's a "brb" shutdown, not a "goodbye forever" shutdown. Periodt. β
Bestie do not assume the locks are gone after this. They are not. This is literally stated. Respect the note. π
π SEE ALSO π
The kernel file lives at ./drivers/net/ethernet/intel/ice/ice_controlq.c β go say hi to the source, she's the main character here π
And here's the whole friend group, all the related functions, every single one, in order, exactly as listed:
ice_adminq_init_regs(9)ice_mailbox_init_regs(9)ice_sb_init_regs(9)ice_check_sq_alive(9)ice_alloc_ctrlq_sq_ring(9)ice_alloc_ctrlq_rq_ring(9)ice_free_cq_ring(9)ice_alloc_rq_bufs(9)ice_alloc_sq_bufs(9)ice_cfg_sq_regs(9)ice_cfg_rq_regs(9)ice_init_sq(9)ice_init_rq(9)ice_shutdown_sq(9)ice_aq_ver_check(9)ice_shutdown_rq(9)ice_init_check_adminq(9)ice_init_ctrlq(9)ice_is_sbq_supported(9)ice_get_sbq(9)ice_shutdown_ctrlq(9)ice_init_all_ctrlq(9)ice_init_ctrlq_locks(9)ice_create_all_ctrlq(9)ice_destroy_ctrlq_locks(9)ice_destroy_all_ctrlq(9)ice_clean_sq(9)ice_ctl_q_str(9)ice_debug_cq(9)ice_sq_done(9)ice_sq_send_cmd(9)ice_fill_dflt_direct_cmd_desc(9)ice_clean_rq_elem(9)
That's the whole page, bestie, every detail intact, nothing skipped, we ate and left no crumbs πβ¨ππ¦πΈπ π«Ά
Oh and the sign-off: this page comes from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's for ice_shutdown_all_ctrlq(9). Slay. π
π¦ 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