lpfc_els_rsp_prli_acc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ lpfc_els_rsp_prli_acc(9) ✨

okay so bestie, welcome to the lpfc_els_rsp_prli_acc(9) page from the Kernel API Manual β€” this one's all about firing off an Accept response to a PRLI, and honestly it's kind of a whole mood. let's get into it 🫢


🌸 NAME 🌸

lpfc_els_rsp_prli_acc β€” prepare and issue an acc response to a prli iocb cmd ✨


πŸŽ€ SYNOPSIS πŸŽ€

int lpfc_els_rsp_prli_acc (struct lpfc_vport *vport , struct lpfc_iocbq
*oldiocb , struct lpfc_nodelist *ndlp );

πŸ’– ARGUMENTS πŸ’–

  • vport β€” pointer to a virtual N_Port data structure. the main character of the virtual port world, lowkey πŸ’…
  • oldiocb β€” pointer to the original lpfc command iocb data structure. like, the og iocb, the blueprint, the source material πŸ“œ
  • ndlp β€” pointer to a node-list data structure. the node bestie in question πŸ’«

πŸ¦‹ DESCRIPTION πŸ¦‹

so this routine prepares and issues an Accept (ACC) response to the Process Login (PRLI) ELS command. it's giving "just do the thing" energy β€” it simply prepares the payload of the IOCB and invokes the lpfc_sli_issue_iocb routine to send out the command. no cap, that's literally the whole job πŸ”₯

note that the ndlp reference count will be incremented by 1 for holding the ndlp, and the reference to ndlp will be stored into the ndlp field of the IOCB for the completion callback function to the PRLI Accept response ELS IOCB command. so yeah, the refcount goes up, the reference gets stashed in the IOCB, and the callback knows what's up πŸ’€βœ¨

Return code vibes:

  • 0 β€” Successfully issued acc prli response βœ… slay
  • 1 β€” Failed to issue acc prli response 😭 it tried

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/lpfc/lpfc_els.c β€” the whole ELS cinematic universe lives here, iykyk πŸ‘‘

and now, the full friend group of related functions (yes, all of them, we don't leave anyone out bestie):

like, that's the whole squad right there. every single one. we ate and left no crumbs πŸ“


okay and that's the page bestie! πŸ’œ this iconic little kernel api manual moment lives in ./drivers/scsi/lpfc and it dropped in October 2026 β€” periodt, no notes, muah πŸ’‹βœ¨
πŸ“¦ where this page comes from