ENUM QM_STOP_REASON(9)
π 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 (likePCIe 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, orkexecto 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
- 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