lpfc_cmpl_els_flogi_fabric(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hey bestie πŸ’– welcome to lpfc_cmpl_els_flogi_fabric(9) from the Kernel API Manual β€” today’s main character is the completion function for a FLOGI to a fabric port, and she is booked, busy, and handling it πŸ’…

πŸ’– NAME πŸ’–

lpfc_cmpl_els_flogi_fabric β€” completion function for flogi to a fabric port. No cap, that’s literally her whole job description.

✨ SYNOPSIS ✨

int lpfc_cmpl_els_flogi_fabric (struct lpfc_vport *vport , struct lpfc_nodelist *ndlp , struct serv_parm *sp , uint32_t ulp_word4 );

πŸŽ€ ARGUMENTS πŸŽ€

  • vport β€” pointer to a host virtual N_Port data structure. The vport girlie in question 🫢
  • ndlp β€” pointer to a node-list data structure. The node-list bestie.
  • sp β€” pointer to service parameter data structure. Service-param realness ✨
  • ulp_word4 β€” command response value. The receipts from the command.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this routine is invoked by the lpfc_cmpl_els_flogi completion callback function to handle the completion of a Fabric Login (FLOGI) into a fabric port in a fabric topology. She’s the cleanup-and-setup girlie for that exact moment πŸ’«

It properly sets up the parameters to the ndlp from the IOCB response. Literally copying the important bits over so nobody’s confused.

It also checks the newly assigned N_Port ID to the vport against the previously assigned N_Port ID. If it is different from the previously assigned Destination ID (DID), the lpfc_unreg_rpi routine is invoked on all the remaining nodes with the vport to unregister the Remote Port Indicators (RPIs). Yes bestie, that’s the unregister-the-RPIs moment β€” highkey important, lowkey dramatic 😭

Finally, the lpfc_issue_fabric_reglogin is invoked to register login to the fabric. And that’s the slay at the end of the function πŸ’…

Return code 0 β€” Success (currently, always return 0). Periodt, always 0 for now.

🌸 SEE ALSO 🌸

Kernel file ./drivers/scsi/lpfc/lpfc_els.c β€” and the whole squad, no missing members, fr fr:


mwah πŸ’‹ this page is brought to you by the Kernel API Manual, source tree ./drivers/scsi/lpfc, dated October 2026 β€” and yes, she ate πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from