1libnvme(9) API Manual libnvme(9)
2
3
4
6 enum nvme_id_ns_dps - This field indicates the Type settings for the
7 end-to-end data protection feature.
8
10 enum nvme_id_ns_dps {
11 NVME_NS_DPS_PI_NONE ,
12 NVME_NS_DPS_PI_TYPE1 ,
13 NVME_NS_DPS_PI_TYPE2 ,
14 NVME_NS_DPS_PI_TYPE3 ,
15 NVME_NS_DPS_PI_MASK ,
16 NVME_NS_DPS_PI_FIRST
17
18 };
19
21 NVME_NS_DPS_PI_NONE
22 Protection information is not enabled
23
24 NVME_NS_DPS_PI_TYPE1
25 Protection information is enabled, Type 1
26
27 NVME_NS_DPS_PI_TYPE2
28 Protection information is enabled, Type 2
29
30 NVME_NS_DPS_PI_TYPE3
31 Protection information is enabled, Type 3
32
33 NVME_NS_DPS_PI_MASK
34 Mask to get the value of the PI type
35
36 NVME_NS_DPS_PI_FIRST
37 If set, indicates that the protection information, if en‐
38 abled, is transferred as the first eight bytes of metadata.
39
40
41
42October 2023 enum nvme_id_ns_dps libnvme(9)