1libnvme(9) API Manual libnvme(9)
2
3
4
6 enum nvme_id_ns_dpc - This field indicates the capabilities for the
7 end-to-end data protection feature.
8
10 enum nvme_id_ns_dpc {
11 NVME_NS_DPC_PI_TYPE1 ,
12 NVME_NS_DPC_PI_TYPE2 ,
13 NVME_NS_DPC_PI_TYPE3 ,
14 NVME_NS_DPC_PI_FIRST ,
15 NVME_NS_DPC_PI_LAST
16
17 };
18
20 NVME_NS_DPC_PI_TYPE1
21 If set, indicates that the namespace supports Protection
22 Information Type 1.
23
24 NVME_NS_DPC_PI_TYPE2
25 If set, indicates that the namespace supports Protection
26 Information Type 2.
27
28 NVME_NS_DPC_PI_TYPE3
29 If set, indicates that the namespace supports Protection
30 Information Type 3.
31
32 NVME_NS_DPC_PI_FIRST
33 If set, indicates that the namespace supports protection
34 information transferred as the first eight bytes of meta‐
35 data.
36
37 NVME_NS_DPC_PI_LAST
38 If set, indicates that the namespace supports protection
39 information transferred as the last eight bytes of meta‐
40 data.
41
42
43
44April 2023 enum nvme_id_ns_dpc libnvme(9)