Skip to content

Commit 2717ab4

Browse files
committed
types.h: add missing enum for optional admin command support
Add bit 10, command and feature lockdown capability enum and its description. Signed-off-by: Ankit Kumar <[email protected]>
1 parent e830543 commit 2717ab4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/nvme/types.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,6 +1245,8 @@ enum nvme_id_ctrl_mec {
12451245
* Doorbell Buffer Config command.
12461246
* @NVME_CTRL_OACS_LBA_STATUS: If set, then the controller supports the Get LBA
12471247
* Status capability.
1248+
* @NVME_CTRL_OACS_CMD_FEAT_LD: If set, then the controller supports the command
1249+
* and feature lockdown capability.
12481250
*/
12491251
enum nvme_id_ctrl_oacs {
12501252
NVME_CTRL_OACS_SECURITY = 1 << 0,
@@ -1257,6 +1259,7 @@ enum nvme_id_ctrl_oacs {
12571259
NVME_CTRL_OACS_VIRT_MGMT = 1 << 7,
12581260
NVME_CTRL_OACS_DBBUF_CFG = 1 << 8,
12591261
NVME_CTRL_OACS_LBA_STATUS = 1 << 9,
1262+
NVME_CTRL_OACS_CMD_FEAT_LD = 1 << 10,
12601263
};
12611264

12621265
/**

0 commit comments

Comments
 (0)