DOKK / manpages / debian 12 / libnvme-dev / nvme_primary_ctrl_cap.2.en
libnvme(2) API Manual libnvme(2)

struct nvme_primary_ctrl_cap - Identify - Controller Capabilities Structure

struct nvme_primary_ctrl_cap {
__le16 cntlid;
__le16 portid;
__u8 crt;
__u8 rsvd5[27];
__le32 vqfrt;
__le32 vqrfa;
__le16 vqrfap;
__le16 vqprt;
__le16 vqfrsm;
__le16 vqgran;
__u8 rsvd48[16];
__le32 vifrt;
__le32 virfa;
__le16 virfap;
__le16 viprt;
__le16 vifrsm;
__le16 vigran;
__u8 rsvd80[4016];
};

Controller Identifier
Port Identifier
Controller Resource Types
reserved
VQ Resources Flexible Total
VQ Resources Flexible Assigned
VQ Resources Flexible Allocated to Primary
VQ Resources Private Total
VQ Resources Flexible Secondary Maximum
VQ Flexible Resource Preferred Granularity
reserved
VI Resources Flexible Total
VI Resources Flexible Assigned
VI Resources Flexible Allocated to Primary
VI Resources Private Total
VI Resources Flexible Secondary Maximum
VI Flexible Resource Preferred Granularity
reserved
struct nvme_primary_ctrl_cap January 2023