libnvme(9)
π 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
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms