1libnvme(9)                        API Manual                        libnvme(9)
2
3
4

NAME

6       enum nvme_constants - A place to stash various constant nvme values
7

SYNOPSIS

9       enum nvme_constants {
10           NVME_NSID_ALL ,
11           NVME_NSID_NONE ,
12           NVME_UUID_NONE ,
13           NVME_CNTLID_NONE ,
14           NVME_CNSSPECID_NONE ,
15           NVME_LOG_LSP_NONE ,
16           NVME_LOG_LSI_NONE ,
17           NVME_LOG_LPO_NONE ,
18           NVME_IDENTIFY_DATA_SIZE ,
19           NVME_LOG_SUPPORTED_LOG_PAGES_MAX ,
20           NVME_ID_NVMSET_LIST_MAX ,
21           NVME_ID_UUID_LIST_MAX ,
22           NVME_ID_CTRL_LIST_MAX ,
23           NVME_ID_NS_LIST_MAX ,
24           NVME_ID_SECONDARY_CTRL_MAX ,
25           NVME_ID_DOMAIN_LIST_MAX ,
26           NVME_ID_ENDURANCE_GROUP_LIST_MAX ,
27           NVME_ID_ND_DESCRIPTOR_MAX ,
28           NVME_FEAT_LBA_RANGE_MAX ,
29           NVME_LOG_ST_MAX_RESULTS ,
30           NVME_LOG_TELEM_BLOCK_SIZE ,
31           NVME_LOG_FID_SUPPORTED_EFFECTS_MAX ,
32           NVME_LOG_MI_CMD_SUPPORTED_EFFECTS_MAX ,
33           NVME_LOG_MI_CMD_SUPPORTED_EFFECTS_RESERVED ,
34           NVME_DSM_MAX_RANGES ,
35           NVME_NQN_LENGTH ,
36           NVMF_TRADDR_SIZE ,
37           NVMF_TSAS_SIZE ,
38           NVME_ZNS_CHANGED_ZONES_MAX
39
40       };
41

Constants

43       NVME_NSID_ALL
44                   A broadcast value that is used to specify all namespaces
45
46       NVME_NSID_NONE
47                   The  invalid  namespace  id, for when the nsid parameter is
48                   not used in a command
49
50       NVME_UUID_NONE
51                   Use to omit a uuid command parameter
52
53       NVME_CNTLID_NONE
54                   Use to omit a cntlid command parameter
55
56       NVME_CNSSPECID_NONE
57                   Use to omit a cns_specific_id command parameter
58
59       NVME_LOG_LSP_NONE
60                   Use to omit a log lsp command parameter
61
62       NVME_LOG_LSI_NONE
63                   Use to omit a log lsi command parameter
64
65       NVME_LOG_LPO_NONE
66                   Use to omit a log lpo command parameter
67
68       NVME_IDENTIFY_DATA_SIZE
69                   The transfer size for nvme identify commands
70
71       NVME_LOG_SUPPORTED_LOG_PAGES_MAX
72                   The lagest possible index in the supported log pages log.
73
74       NVME_ID_NVMSET_LIST_MAX
75                   The largest possible nvmset index in identify nvmeset
76
77       NVME_ID_UUID_LIST_MAX
78                   The largest possible uuid index in identify uuid list
79
80       NVME_ID_CTRL_LIST_MAX
81                   The largest possible  controller  index  in  identify  con‐
82                   troller list
83
84       NVME_ID_NS_LIST_MAX
85                   The  largest possible namespace index in identify namespace
86                   list
87
88       NVME_ID_SECONDARY_CTRL_MAX
89                   The largest possible secondary controller index in identify
90                   secondary controller
91
92       NVME_ID_DOMAIN_LIST_MAX
93                   The largest possible domain index in the in domain list
94
95       NVME_ID_ENDURANCE_GROUP_LIST_MAX
96                   The largest possible endurance group index in the endurance
97                   group list
98
99       NVME_ID_ND_DESCRIPTOR_MAX
100                   The largest possible namespace  granularity  index  in  the
101                   namespace granularity descriptor list
102
103       NVME_FEAT_LBA_RANGE_MAX
104                   The  largest  possible LBA range index in feature lba range
105                   type
106
107       NVME_LOG_ST_MAX_RESULTS
108                   The largest possible self test result index in  the  device
109                   self test log
110
111       NVME_LOG_TELEM_BLOCK_SIZE
112                   Specification defined size of Telemetry Data Blocks
113
114       NVME_LOG_FID_SUPPORTED_EFFECTS_MAX
115                   The  largest  possible FID index in the feature identifiers
116                   effects log.
117
118       NVME_LOG_MI_CMD_SUPPORTED_EFFECTS_MAX
119                   The largest possible MI Command index in the MI Command ef‐
120                   fects log.
121
122       NVME_LOG_MI_CMD_SUPPORTED_EFFECTS_RESERVED
123                   The reserved space in the MI Command effects log.
124
125       NVME_DSM_MAX_RANGES
126                   The  largest  possible range index in a data-set management
127                   command
128
129       NVME_NQN_LENGTH
130                   Max length for NVMe Qualified Name
131
132       NVMF_TRADDR_SIZE
133                   Max Transport Address size
134
135       NVMF_TSAS_SIZE
136                   Max Transport Specific Address Subtype size
137
138       NVME_ZNS_CHANGED_ZONES_MAX
139                   Max number of zones in the changed zones log page
140
141
142
143April 2022                    enum nvme_constants                   libnvme(9)
Impressum