ENUM QM_STOP_REASON(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

enum qm_stop_reason β€” the queue manager stop reasons, bestie. that's it, that's the whole vibe πŸ’…


✨ SYNOPSIS ✨

okay so here's the whole enum laid out, no cap:

enum qm_stop_reason {
    QM_NORMAL ,
    QM_SOFT_RESET ,
    QM_DOWN ,
    QM_SHUTDOWN

};

like, four constants, all main character energy, each one saying why we're stopping the queue manager πŸ‘‘


πŸ¦‹ Constants πŸ¦‹

  • QM_NORMAL β€” the graceful stop, the polite girlie of the group πŸ’–. used for device unbind, driver removal, or runtime power management (runtime_suspend). she leaves quietly, no drama.
  • QM_SOFT_RESET β€” the error recovery reset πŸ”₯. triggered when the hardware hits unrecoverable errors (like PCIe AER, or a timeout) and we gotta recover device state. it's giving "we can fix this" energy.
  • QM_DOWN β€” Function Level Reset, periodt πŸ’…. used when the device needs a reset at the function level without resetting the link. surgical. precise. iconic.
  • QM_SHUTDOWN β€” system shutdown πŸ‘‘. used during system poweroff, reboot, or kexec to make sure the hardware is in a safe state. the grand finale, the last bow, the "everyone go home" moment.

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/hisi_acc_qm.h
  • struct qm_err_isolate(9)

iykyk, go read those next 🫢


mwah β€” this lil page lives in ./include/linux, dated October 2026, from the Kernel API Manual πŸ’œβœ¨ stay hydrated and don't reset your links, bestie 🧚

πŸ“¦ where this page comes from