lpfc_cmpl_els_adisc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– welcome to the lpfc_cmpl_els_adisc(9) page from the Kernel API Manual! this is your group chat for the completion callback for adisc, and we are keeping every single detail because that is the whole vibe ✨


πŸŽ€ NAME πŸŽ€

lpfc_cmpl_els_adisc β€” completion callback function for adisc 🌸


✨ SYNOPSIS ✨

the signature is literally this, no edits bestie:

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

🌈 ARGUMENTS 🌈

okay so the arguments are giving β€œthree pointers and a dream,” but for real:

  • phba β€” pointer to lpfc hba data structure. 🫢
  • cmdiocb β€” pointer to lpfc command iocb data structure. πŸ’…
  • rspiocb β€” pointer to lpfc response iocb data structure. πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

okay so this routine is THE completion function for issuing the Address Discover (ADISC) command. first it checks to see whether the link went down during the discovery process. if so, the node will be marked as node port recovery for issuing discover IOCB by the link attention handler and exit. periodt. πŸ’…

otherwise, the response status is checked. if error was reported in the response status, the ADISC command shall be retried by invoking the lpfc_els_retry routine. πŸ”₯

otherwise, if no error was reported in the response status, the state machine is invoked to set transition with respect to NLP_EVT_CMPL_ADISC event. no cap, that’s the flow ✨


🌸 SEE ALSO 🌸

the kernel file in question is ./drivers/scsi/lpfc/lpfc_els.c, and the whole cross-reference crew is here β€” no skips, no missing besties, periodt πŸ‘‘

and that’s the tea β˜• β€” source/version: ./drivers/scsi/lpfc, date: October 2026, page: lpfc_cmpl_els_adisc(9). mwah πŸ’‹

πŸ“¦ where this page comes from