lpfc_els_chk_latt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_els_chk_latt(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for lpfc_els_chk_latt(9) β€” yes, the function name is doing main character energy. This one is all about checking host link attention event for a vport, and she is lowkey very specific. πŸ¦‹

✨ NAME ✨

lpfc_els_chk_latt β€” check host link attention event for a vport πŸ’…

✨ SYNOPSIS ✨

int lpfc_els_chk_latt (struct lpfc_vport *vport );

πŸŽ€ ARGUMENTS πŸŽ€

  • vport β€” pointer to a host virtual N_Port data structure. literally a pointer, bestie, to the host virtual N_Port data structure. 🫢

🌸 DESCRIPTION 🌸

okay so this routine checks whether there is an outstanding host link attention event during the discovery process with the vport. The way she does it? by reading the HBA's Host Attention (HA) register. πŸ‘‘

If there is any host link attention events during this vport's discovery process, here's the whole situation: the vport shall be marked as FC_ABORT_DISCOVERY, a host link attention clear shall be issued if the link state is not already in host link cleared state, and a return code shall indicate whether the host link attention event had happened. πŸ’₯

note note note: if either the host link is in state LPFC_LINK_DOWN or vport state in LPFC_VPORT_READY, the request for checking host link attention event will be ignored, and a return code shall indicate no host link attention event had happened. periodt.

πŸ”₯ Return codes

  • 0 β€” no host link attention event happened.
  • 1 β€” host link attention event happened.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/scsi/lpfc/lpfc_els.c is the home base, and here's the entire friend group:


mwah πŸ’‹ signing off from ./drivers/scsi/lpfc β€” October 2026 β€” on the lpfc_els_chk_latt(9) page. slay and goodbye πŸŽ€

πŸ“¦ where this page comes from