NVME_CDW10_SET_FEATURES union (nvme.h)

Contains parameters for the Set Features command that sets the attributes of the specified feature.

The Set Features command uses the NVME_CDW10_SET_FEATURES structure in the CDW10 parameter of the SETFEATURES field of the Command structure.

Syntax

typedef union {
  struct {
    ULONG FID : 8;
    ULONG Reserved0 : 23;
    ULONG SV : 1;
  } DUMMYSTRUCTNAME;
  ULONG  AsUlong;
} NVME_CDW10_SET_FEATURES, *PNVME_CDW10_SET_FEATURES;

Members

DUMMYSTRUCTNAME

DUMMYSTRUCTNAME.FID

Specifies an NVME_FEATURES value that identifies the feature for which attributes are being provided.

DUMMYSTRUCTNAME.Reserved0

DUMMYSTRUCTNAME.SV

Specifies that the controller will save the attribute so that the attribute persists through all power states and resets.

The controller indicates in bit 4 of the Optional NVM Command Support ONCS field of the Identify Controller data structure whether this field is supported.

If the FID specified in the Set Features command is not saveable by the controller and the controller receives a Set Features command with the Save SV bit set to one, then the command is aborted with a status of Feature Identifer Not Saveable NVME_STATUS_FEATURE_ID_NOT_SAVEABLE.

AsUlong

Requirements

Requirement Value
Minimum supported client Windows 10
Header nvme.h

See also