lpfc_hb_mbox_cmpl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to lpfc_hb_mbox_cmpl(9) from the Kernel API Manual β€” it's the lpfc heart-beat mailbox command callback function, and honestly it's giving β€œtiny callback, big responsibility” energy πŸ’…βœ¨.

⚑ SYNOPSIS ⚑

void lpfc_hb_mbox_cmpl (struct lpfc_hba * phba , LPFC_MBOXQ_t * pmboxq
);

πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” pointer to the lpfc hba data structure. iconic pointer behavior, no notes πŸ’–
  • pmboxq β€” pointer to the driver internal queue element for mailbox command. yes bestie, that exact queue element 🫢

🌸 DESCRIPTION 🌸

This is the callback function to the lpfc heart-beat mailbox command. If configured, the lpfc driver issues the heart-beat mailbox command to the HBA every LPFC_HB_MBOX_INTERVAL (current 5) seconds. At the time the heart-beat mailbox command is issued, the driver shall set up the heart-beat timeout timer to LPFC_HB_MBOX_TIMEOUT (current 30) seconds and marks the heart-beat outstanding state. Once the mailbox command comes back and no error conditions are detected, the heart-beat mailbox command timer is reset to LPFC_HB_MBOX_INTERVAL seconds and the heart-beat outstanding state is cleared for the next heart-beat. If the timer expires with the heart-beat outstanding state set, the driver will put the HBA offline. That's the dramatic part, bestie πŸ˜­πŸ’€.

πŸ¦‹ SEE ALSO πŸ¦‹

bestie, the whole extended friend group is here β€” the source file ./drivers/scsi/lpfc/lpfc_init.c plus every function reference, exact and accounted for ✨:

okay that's the whole page, bestie 🫢 β€” source/version path ./drivers/scsi/lpfc, date October 2026, and lpfc_hb_mbox_cmpl(9) is out πŸ’…βœ¨

πŸ“¦ where this page comes from