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, andPELPIDdoes 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 andPELPIDdoes not apply π so the event is out here unaffiliated, no port, and again thatPELPIDfield? 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
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms