lpfc_cmpl_els_disc_cmd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ lpfc_cmpl_els_disc_cmd(9) ✨

okay so bestie, this is a page straight out of the Kernel API Manual, and it's all about one lil completion callback that does a LOT of heavy lifting for Discovery ELS cmds. sit down, grab a strawberry drink πŸ“, and let's get into it πŸ’…


🌸 NAME 🌸

lpfc_cmpl_els_disc_cmd β€” the Completion callback function for Discovery ELS cmd. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void lpfc_cmpl_els_disc_cmd (struct lpfc_hba *phba , struct lpfc_iocbq
*cmdiocb , struct lpfc_iocbq *rspiocb );

like, three pointers, one void, zero drama. slay ✨


πŸ’– ARGUMENTS πŸ’–

  • phba β€” pointer to lpfc hba data structure. (the hba in question, bestie 🫢)
  • cmdiocb β€” pointer to lpfc command iocb data structure. (the cmd iocb, iykyk)
  • rspiocb β€” pointer to lpfc response iocb data structure. (the response iocb β€” yes there's a difference, and yes it matters πŸ’€)

πŸ”₯ DESCRIPTION πŸ”₯

so this routine is a generic completion callback function for the Discovery ELS cmd. generic as in it's the go-to, the main character of callbacks πŸ‘‘

currently it's used by the ELS command issuing routines for:

  • the ELS State Change Request (SCR) β€” lpfc_issue_els_scr
  • Exchange Diagnostic Capabilities (EDC) β€” lpfc_issue_els_edc
  • and the ELS RDF β€” lpfc_issue_els_rdf
and here's the part you can't skip, bestie: these commands will be retried once only for ELS timeout errors. one (1) retry. not two, not "however many feels right." once only, periodt. πŸ’…

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/lpfc/lpfc_els.c β€” and honestly the whole friend group shows up here, so let's do the roll call 🎀:

like, that's the whole squad. icon behavior honestly πŸ‘‘πŸ’œ


and that's the page!! mwah πŸ’‹ this lil gem lives in ./drivers/scsi/lpfc, it's dated October 2026, and yes it's still signed lpfc_cmpl_els_disc_cmd(9) β€” go be a completion callback icon bestie, ily πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from