libnvme(2)

πŸ’– libnvme(2) β€” the enum nvme_pel_ehai_pit era πŸ’–

okay bestie, welcome to the API Manual for libnvme, and today's main character is a lil enum called enum nvme_pel_ehai_pit β€” aka the Persistent Event Header Additional Information - Port Identifier Type. yes that's a long name. yes she earned it. it's giving ✨very specific✨ and honestly? we respect it.


🌸 NAME 🌸

enum nvme_pel_ehai_pit β€” Persistent Event Header Additional Information - Port Identifier Type πŸ’…

like, it's the thing that tells you which kind of port a persistent event is talking about. no cap.


✨ SYNOPSIS ✨

enum nvme_pel_ehai_pit {
    NVME_PEL_EHAI_PIT_NOT_REPORTED,
    NVME_PEL_EHAI_PIT_NSS_PORT,
    NVME_PEL_EHAI_PIT_NMI_PORT,
    NVME_PEL_EHAI_PIT_NOT_ASSOCIATED

};

four constants, zero drama, all vibes πŸ¦‹


πŸŽ€ Constants πŸŽ€

okay so here's the whole squad, one by one, no skipping, i would never πŸ™ˆ

  • NVME_PEL_EHAI_PIT_NOT_REPORTED β€” PIT not reported, and PELPID does not apply. she's simply not showing up to the function. radio silence. the info isn't here and the port ID field is irrelevant.
  • NVME_PEL_EHAI_PIT_NSS_PORT β€” NVM subsystem port 🫢 lowkey the classic. this one is an NVM subsystem port, periodt.
  • NVME_PEL_EHAI_PIT_NMI_PORT β€” NVMe-MI port πŸ’… different flavor, same energy. it's an NVMe-MI port, iykyk.
  • NVME_PEL_EHAI_PIT_NOT_ASSOCIATED β€” Event not associated with any port and PELPID does not apply 😭 so the event is out here unaffiliated, no port, and again that PELPID field? doesn't apply. not her problem.
bestie reminder: two of these constants explicitly say PELPID does not apply, so don't go reading that field when you land on either of them. the other two are the ones that actually name a port. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

lowkey there's no SEE ALSO section in this one, so the whole page is just the enum and her four gorgeous constants. iconic behavior honestly. 🌈


that's the whole page, bestie, you ate it up ⭐ and for the record this little beauty comes from the API Manual, libnvme(2), dated July 2026 β€” so when you're out here slaying your persistent event parsing, you know exactly who to thank. mwah πŸ’– 🧚 πŸ“

πŸ“¦ where this page comes from