Reference

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.