1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_primary_ctrl_cap - Identify - Controller Capabilities
7 Structure
8
10 struct nvme_primary_ctrl_cap {
11 __le16 cntlid;
12 __le16 portid;
13 __u8 crt;
14 __u8 rsvd5[27];
15 __le32 vqfrt;
16 __le32 vqrfa;
17 __le16 vqrfap;
18 __le16 vqprt;
19 __le16 vqfrsm;
20 __le16 vqgran;
21 __u8 rsvd48[16];
22 __le32 vifrt;
23 __le32 virfa;
24 __le16 virfap;
25 __le16 viprt;
26 __le16 vifrsm;
27 __le16 vigran;
28 __u8 rsvd80[4016];
29 };
30
31
33 cntlid Controller Identifier
34
35 portid Port Identifier
36
37 crt Controller Resource Types
38
39 rsvd5 reserved
40
41 vqfrt VQ Resources Flexible Total
42
43 vqrfa VQ Resources Flexible Assigned
44
45 vqrfap VQ Resources Flexible Allocated to Primary
46
47 vqprt VQ Resources Private Total
48
49 vqfrsm VQ Resources Flexible Secondary Maximum
50
51 vqgran VQ Flexible Resource Preferred Granularity
52
53 rsvd48 reserved
54
55 vifrt VI Resources Flexible Total
56
57 virfa VI Resources Flexible Assigned
58
59 virfap VI Resources Flexible Allocated to Primary
60
61 viprt VI Resources Private Total
62
63 vifrsm VI Resources Flexible Secondary Maximum
64
65 vigran VI Flexible Resource Preferred Granularity
66
67 rsvd80 reserved
68
69
70
71November 2022 struct nvme_primary_ctrl_cap libnvme(9)