lpfc_els_disc_plogi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ lpfc_els_disc_plogi ✨ β€” the Kernel API Manual page, bestie edition πŸ’…

okay so you found your way to lpfc_els_disc_plogi, which lives in the Kernel API Manual β€” and honestly? she's a little baddie with a big job. pop a πŸ“, get comfy, and let's get into it.


πŸ’– NAME πŸ’–

lpfc_els_disc_plogi β€” Issue plogi for all npr nodes of a vport before adisc. πŸ’«

the way she's out here doing the plogi thing for all the npr nodes of a vport before the adisc even gets a turn?? main character energy, no cap. πŸ‘‘


✨ SYNOPSIS ✨

int lpfc_els_disc_plogi (struct lpfc_vport *vport );

she takes exactly one (1) argument and returns an int. minimalist icon. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • vport β€” pointer to a host virtual N_Port data structure. yes bestie, that's a pointer. to your vport. we love a direct reference. 🫢

🌸 DESCRIPTION 🌸

okay so here's the whole vibe: this routine issues Port Login (PLOGI) ELS commands to all the N_Ports that are in node port recovery state, with a vport. all of them. not a single one left out. πŸ’œ

and like, every single time an ELS ADISC PLOGI IOCB gets issued by invoking the lpfc_issue_els_plogi routine, the per vport number of discover count (num_disc_nodes) shall be incremented. one in, one up. boom. πŸ”₯

but here's where it gets real β€” if num_disc_nodes reaches a pre-configured threshold (cfg_discovery_threads), then the vport fc_flag will be marked with the FC_NLP_MORE bit set, and she quits the process of issuing the remaining ADISC PLOGIN IOCBs, for later pick up. like she's saying "bestie i'm tapping out for now, this energy is scheduled" 😭✨

on the other hand β€” other hand, iconique β€” after walking through all the ndlps with the vport and there is none ADISC PLOGI IOCB issued, the vport fc_flag shall be cleared with the FC_NLP_MORE bit, indicating there's no more ADISC PLOGI that needs to be sent. clean exit. cleared. glowing. 🌈

Return code β€” the number of N_Ports with plogi issued. literally just the count of how many she did. slay. πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

this section is honestly giving group chat with 100+ members and everyone has something to say. and she names EVERY. SINGLE. ONE: πŸ’€

the Kernel file ./drivers/scsi/lpfc/lpfc_els.c, bestie β€” plus:

iykyk πŸ’«


and that's the whole page, bestie!! this one came from ./drivers/scsi/lpfc and it's dated October 2026 β€” so yeah, she's future-dated and thriving, we love that for her πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from