lpfc_mq_create_fb_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_mq_create_fb_init ✨

okay bestie, welcome to lpfc_mq_create_fb_init(9) β€” this is a page straight out of the Kernel API Manual and it's lowkey a tiny little icon. it does one job and it does it with zero drama. let's get into it πŸŽ€


🌸 NAME 🌸

lpfc_mq_create_fb_init β€” send MCC_CREATE without the async events registration. that's the whole vibe. no cap. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void lpfc_mq_create_fb_init (struct lpfc_hba *phba , struct lpfc_queue
*mq , LPFC_MBOXQ_t *mbox , struct lpfc_queue *cq );

it returns void bestie, because (spoiler) it literally cannot fail 😭✨


πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” the HBA structure, aka the thing that tells you which port we're making a queue on. it's giving "main character pointer energy" πŸ‘‘
  • mq β€” the queue structure you use to create the mailbox queue. yes queen, build it 🫢
  • mbox β€” an allocated pointer to type LPFC_MBOXQ_t. allocated already, don't come in here with a raw uninitialized one πŸ™ˆ
  • cq β€” the completion queue to associate with this cq. they're a package deal, fr fr πŸ’œ

⭐ DESCRIPTION ⭐

so here's the lore: this function is the failback function β€” that's the (fb) in the name, iykyk β€” and it kicks in when mq_create_ext fails on older FW generations. it's the backup dancer that ate and left no crumbs. πŸ”₯

other than that one little detail, its purpose is identical to mq_create_ext. same mission, same energy, different generation of firmware. 🌈

and here's the slay part: this routine cannot fail, because all the attributes were previously accessed and initialized back in mq_create_ext. everything it needs was already prepped. it's just showing up and doing the thing πŸ’…βœ¨

ngl the "cannot fail" line is the most iconic thing on this whole page β€” the work was already done upstream, this is purely the failback path. 🧚

πŸ‘‘ SEE ALSO πŸ‘‘

bestie. buckle up. πŸ“ this list is long β€” like, "group chat has 300 unread messages" long β€” but every single one is here, no skipping, no cap:

Kernel file ./drivers/scsi/lpfc/lpfc_sli.c

like… that's the whole extended universe, bestie πŸŒŒπŸ’€ every single one present and accounted for. mwah 😘


that's the page!! go create that mailbox queue without async event registration, you absolute queen πŸ‘‘βœ¨

and for the cute sign-off: this little beauty lives in ./drivers/scsi/lpfc, the page is dated October 2026, and it answers to the name lpfc_mq_create_fb_init(9) β€” remember it fondly πŸ«ΆπŸ’œπŸŽ€

πŸ“¦ where this page comes from