libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– libnvme(9) β€” the API Manual, bestie edition πŸ’–

okay so this one's from the libnvme API Manual and it's literally just one struct, but she's iconic so we're gonna give her the full main-character treatment ✨


🌸 NAME 🌸

struct nvme_persistent_event_entry β€” Persistent Event πŸŽ€

like, she's an entry. she's persistent. she's an event. the name ate and left no crumbs πŸ’…


✨ SYNOPSIS ✨

here's the whole vibe, copied exactly so you can trust me fr fr:

struct nvme_persistent_event_entry {
    __u8 etype;
    __u8 etype_rev;
    __u8 ehl;
    __u8 ehai;
    __le16 cntlid;
    __le64 ets;
    __le16 pelpid;
    __u8 rsvd16[4];
    __le16 vsil;
    __le16 el;
 };

no cap, that's the entire struct. she's giving organized, she's giving field-annotated, she's giving "I know my types" πŸ¦‹


🫢 Members 🫢

okay bestie, field by field, let's get into it πŸ‘‘

  • etype β€” Event Type 🌈 β€” the actual what kind of event is this of it all.
  • etype_rev β€” Event Type Revision β€” the version tag for that event type, iykyk.
  • ehl β€” Event Header Length β€” how long the header is, in case you were wondering.
  • ehai β€” Event Header Additional Info β€” the extra info that lives up in the header ✨
  • cntlid β€” Controller Identifier β€” which controller this is, her little ID badge πŸ’³
  • ets β€” Event Timestamp β€” when it happened. time is a construct but timestamps are real ⏰
  • pelpid β€” Port Identifier β€” the port's ID, periodt πŸŽ€
  • rsvd16 β€” Reserved β€” respectfully reserved, do not touch, she's saving that seat πŸ™ˆ
  • vsil β€” Vendor Specific Information Length β€” how much vendor-specific info there is, measured in length obviously πŸ’…
  • el β€” Event Length β€” and finally, the length of the event itself. full circle, we love a closer πŸ”₯
lowkey important: rsvd16 is Reserved β€” so like, leave her alone, don't be writing your little values in there 😭

okay that's the whole page, no filler, every field accounted for, nothing skipped πŸ’œ

sign-off time 🧚: this little beauty is the struct nvme_persistent_event_entry page from the libnvme API Manual, dated October 2026 β€” so yeah, she's fresh, she's timestamped, she's slaying into the future β­πŸ’–

now go forth and parse those persistent events, bestie. you got this πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from