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