---
name: "nvme_id_ns_dps-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_id_ns_dps-libnvme3"
---

# nvme\_id\_ns\_dps-libnvme3(2)

This field indicates the Type settings for the end-to-end data protection feature.

## NAME

enum nvme\_id\_ns\_dps - This field indicates the Type settings for the end-to-end data protection feature.

## SYNOPSIS

enum nvme\_id\_ns\_dps {\
     **NVME\_NS\_DPS\_PI\_NONE** , \
\
     **NVME\_NS\_DPS\_PI\_TYPE1** , \
\
     **NVME\_NS\_DPS\_PI\_TYPE2** , \
\
     **NVME\_NS\_DPS\_PI\_TYPE3** , \
\
     **NVME\_NS\_DPS\_PI\_SHIFT** , \
\
     **NVME\_NS\_DPS\_PI\_MASK** , \
\
     **NVME\_NS\_DPS\_PI\_FIRST\_SHIFT** , \
\
     **NVME\_NS\_DPS\_PI\_FIRST\_MASK** , \
\
     **NVME\_NS\_DPS\_PI\_FIRST**

};

## Constants

- NVME\_NS\_DPS\_PI\_NONE

  Protection information is not enabled

- NVME\_NS\_DPS\_PI\_TYPE1

  Protection information is enabled, Type 1

- NVME\_NS\_DPS\_PI\_TYPE2

  Protection information is enabled, Type 2

- NVME\_NS\_DPS\_PI\_TYPE3

  Protection information is enabled, Type 3

- NVME\_NS\_DPS\_PI\_SHIFT

  Protection information type shift

- NVME\_NS\_DPS\_PI\_MASK

  Mask to get the value of the PI type

- NVME\_NS\_DPS\_PI\_FIRST\_SHIFT

  Protection information in first bytes shift

- NVME\_NS\_DPS\_PI\_FIRST\_MASK

  Protection information in first bytes mask

- NVME\_NS\_DPS\_PI\_FIRST

  If set, indicates that the protection information, if enabled, is transferred as the first eight bytes of metadata.
