nvme_id_ns_dps(2)

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

Section 2 libnvme-dev bookworm source

Description

libnvme

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_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_MASK

Mask to get the value of the PI type

NVME_NS_DPS_PI_FIRST

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