libnvme(2)
π libnvme β section 2, bestie π
okay so you opened the libnvme(2) API manual and landed on this page, and it's literally all about one little struct, so let's get into it π«Ά
β¨ NAME β¨
struct nvme_streams_directive_params β the Streams Directive: Return Parameters Data Structure ππΈ
β¨ SYNOPSIS β¨
here's the whole vibe, exactly as it lives in memory, no cap:
struct nvme_streams_directive_params {
__le16 msl;
__le16 nssa;
__le16 nsso;
__u8 nssc;
__u8 rsvd[9];
__le32 sws;
__le16 sgs;
__le16 nsa;
__le16 nso;
__u8 rsvd2[6];
};
π MEMBERS π
every field, one by one, and no we are NOT skipping any π
mslβ Max Streams Limit. it's giving "the ceiling, babe" π₯nssaβ NVM Subsystem Streams Available. what the subsystem has left to hand out β¨nssoβ NVM Subsystem Streams Open. how many are open rn πnsscβ NVM Subsystem Stream Capability. the capability situation πrsvdβ Reserved. do not touch, it's not for you πswsβ Stream Write Size. so iconic πsgsβ Stream Granularity Size. the granularity π«nsaβ Namespace Streams Allocated. how many streams this namespace got πΈnsoβ Namespace Streams Open. how many of those are open πrsvd2β Reserved. again, hands off π
and that's the whole page bestie, go forth and stream responsibly π
this was struct nvme_streams_directive_params, page libnvme(2), from July 2026 β k byeeee πβ¨π¦
π¦ 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