1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_ns_mgmt_host_sw_specified - Namespace management Host Soft‐
7 ware Specified Fields.
8
10 struct nvme_ns_mgmt_host_sw_specified {
11 __le64 nsze;
12 __le64 ncap;
13 __u8 rsvd16[10];
14 __u8 flbas;
15 __u8 rsvd27[2];
16 __u8 dps;
17 __u8 nmic;
18 __u8 rsvd31[61];
19 __le32 anagrpid;
20 __u8 rsvd96[4];
21 __le16 nvmsetid;
22 __le16 endgid;
23 __u8 rsvd104[280];
24 __le64 lbstm;
25 __le16 nphndls;
26 __u8 rsvd394[105];
27 union {
28 __u8 rsvd499[13];
29 struct {
30 __u8 znsco;
31 __le32 rar;
32 __le32 ror;
33 __le32 rnumzrwa;
34 } zns;
35 };
36 __le16 phndl[128];
37 __u8 rsvd768[3328];
38 };
39
40
42 nsze Namespace Size indicates the total size of the namespace in
43 logical blocks. The number of logical blocks is based on
44 the formatted LBA size.
45
46 ncap Namespace Capacity indicates the maximum number of logical
47 blocks that may be allocated in the namespace at any point
48 in time. The number of logical blocks is based on the for‐
49 matted LBA size.
50
51 rsvd16 Reserved
52
53 flbas Formatted LBA Size, see enum nvme_id_ns_flbas.
54
55 rsvd27 Reserved
56
57 dps End-to-end Data Protection Type Settings, see enum
58 nvme_id_ns_dps.
59
60 nmic Namespace Multi-path I/O and Namespace Sharing Capabili‐
61 ties, see enum nvme_id_ns_nmic.
62
63 rsvd31 Reserved
64
65 anagrpid ANA Group Identifier indicates the ANA Group Identifier of
66 the ANA group of which the namespace is a member.
67
68 rsvd96 Reserved
69
70 nvmsetid NVM Set Identifier indicates the NVM Set with which this
71 namespace is associated.
72
73 endgid Endurance Group Identifier indicates the Endurance Group
74 with which this namespace is associated.
75
76 rsvd104 Reserved
77
78 lbstm Logical Block Storage Tag Mask Identifies the mask for the
79 Storage Tag field for the protection information
80
81 nphndls Number of Placement Handles specifies the number of Place‐
82 ment Handles included in the Placement Handle List
83
84 rsvd394 Reserved
85
86 {unnamed_union}
87 anonymous
88
89 rsvd499 Reserved for I/O Command Sets that extend this specifica‐
90 tion.
91
92 zns rsvd499( Zoned Namespace Command Set specific field )
93
94 phndl Placement Handle Associated RUH : This field specifies the
95 Reclaim Unit Handle Identifier to be associated with the
96 Placement Handle value. If the Flexible Data Placement ca‐
97 pability is not supported or not enabled in specified En‐
98 durance Group, then the controller shall ignore this field.
99
100 rsvd768 Reserved
101
102
103
104October 2023 struct nvme_ns_mgmt_host_sw_specified libnvme(9)