lpfc_sli4_un...verable_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_sli4_unrecoverable_port(9)

okay so bestie, this little page comes from the Kernel API Manual, and it's all about lpfc_sli4_unrecoverable_port β€” a tiny check for the ERR and RN bits in portstat_reg. lowkey specific, highkey useful. ✨


🌸 NAME 🌸

lpfc_sli4_unrecoverable_port β€” check ERR and RN bits in portstat_reg.


πŸ¦‹ SYNOPSIS πŸ¦‹

bool lpfc_sli4_unrecoverable_port (struct lpfc_register *portstat_reg );

πŸŽ€ ARGUMENTS πŸŽ€

  • portstat_reg β€” a portstat_reg pointer containing the portstat_reg contents. Like, it's the pointer to the register snapshot you're inspecting, bestie.

✨ DESCRIPTION ✨

Use only for SLI4 interface type-2 or later. fr fr, don't use it for anything earlier.

If ERR is set && RN is 0, then the port is deemed unrecoverable. That's the whole vibe check: ERR says something is up, RN is not set, and the port gets the "yeah, that's unrecoverable" label. πŸ’€


πŸ”₯ RETURN πŸ”₯

  • true β€” ERR && !RN
  • false β€” otherwise

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/scsi/lpfc/lpfc_sli4.h

That's the tea, bestie πŸ“ β€” this page signs off from ./drivers/scsi/lpfc, dated October 2026, with the footer tag lpfc_sli4_un...verable_port(9). πŸ’–

πŸ“¦ where this page comes from