libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– libnvme(9) β€” struct nvme_secondary_ctrl πŸ’–

okay so bestie, this one's from the libnvme API Manual and it's literally just a vibe check on one tiny little struct. no chaos, no flags, no fifty options β€” just a cute lil' bundle of fields that describes a Secondary Controller Entry ✨ (yes queen, an actual entry in the controller table, we love to see it).


🌸 NAME 🌸

struct nvme_secondary_ctrl β€” the Secondary Controller Entry struct, aka the little data blob that tells you everything about one secondary controller πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole thing, character for character, no cap:

struct nvme_secondary_ctrl {
    __le16 scid;
    __le16 pcid;
    __u8 scs;
    __u8 rsvd5[3];
    __le16 vfn;
    __le16 nvq;
    __le16 nvi;
    __u8 rsvd14[18];
 };

look at her. so organized. so little-endian. so __le16-pilled πŸ’…


πŸ‘‘ Members πŸ‘‘

every field, in order, no skipping, because we do NOT skip the reserved ones (they're reserved, not irrelevant, there's a difference and it's giving nuance 🧚):

  • scid β€” the Secondary Controller Identifier. like, which secondary controller are we even talking about bestie πŸ’β€β™€οΈ
  • pcid β€” the Primary Controller Identifier. the one holding the aux cord, the main character of this relationship 🫢
  • scs β€” the Secondary Controller State. the mood. the status. the current era of this controller 🌈
  • rsvd5 β€” Reserved. don't touch. not yours. it said reserved for a reason πŸ™ˆ
  • vfn β€” the Virtual Function Number. yes we're doing virtualization today, welcome to the function-verse πŸ’œ
  • nvq β€” the Number of VQ Flexible Resources Assigned. how many flexible VQ resources got handed out πŸ“
  • nvi β€” the Number of VI Flexible Resources Assigned. and how many flexible VI resources got handed out ✨
  • rsvd14 β€” Reserved. again. still not yours. hands off πŸŽ€
lowkey the reserved fields are the quiet kids in the group chat β€” they're sitting there taking up space and the spec says leave them alone, so we leave them alone 😭

⭐ that's the whole page ⭐

no SEE ALSO, no exit statuses, no environment variables β€” she's a short one and honestly? iconic for that. sometimes a manpage is just a struct and a dream πŸ”₯

and that's the tea, bestie β€” this page came from the libnvme API Manual, and it was dated October 2026, so go forth and read your controller entries with confidence πŸ’…πŸ¦‹πŸ’–

πŸ“¦ where this page comes from