ice_shutdown_all_ctrlq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” a bool that 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:


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