lpfc_mq_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_mq_destroy(9) πŸ’–

okay so this is the Kernel API Manual page for lpfc_mq_destroy, and yes bestie, we’re destroying a Mailbox Queue on the HBA. Very main-character kernel energy, no cap.


🌸 NAME 🌸

lpfc_mq_destroy β€” Destroy a Mailbox Queue on the HBA.


✨ SYNOPSIS ✨

int lpfc_mq_destroy (struct lpfc_hba *phba , struct lpfc_queue *mq );

πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” the HBA structure that indicates the port where a queue is getting destroyed. it’s giving β€œwhich port are we on” energy.
  • mq β€” the queue structure associated with the queue to destroy. literally the queue’s little ID card. πŸͺͺ

πŸ’… DESCRIPTION πŸ’…

this function destroys a queue, as detailed in mq, by sending a mailbox command to the HBA that’s specific to the type of queue. very demure, very targeted. ✨

the mq struct is used to get the queue ID of the queue to destroy. gotta know which queue we’re yeeting, obviously.

on success this function will return a zero. if the queue destroy mailbox command fails, this function will return -ENXIO. that’s the vibe check failing, bestie. 😭


πŸ¦‹ SEE ALSO πŸ¦‹

the whole extended-universe roster lives in the kernel file ./drivers/scsi/lpfc/lpfc_sli.c, and here’s the full guest list β€” every single one, no cuts:


xoxo, your kernel bestie πŸ’… β€” source/version drop: ./drivers/scsi/lpfc; date: October 2026. 🫢✨

πŸ“¦ where this page comes from