Skip to content

Commit

Permalink
types: Added new field CSER in enum as per TP4167
Browse files Browse the repository at this point in the history
As per TP4167, a new field is added as CSER (Command Submission
and Execution Relaxations) under nvme_cmd_effects enum. Updated
field value for NVME_CMD_EFFECTS_CSE_MASK as CSE takes 3 bits.

Signed-off-by: Nitin Sao <nitin.sao@samsung.com>
Reviewed-by: Mohit Kapoor <mohit.kap@samsung.com>
  • Loading branch information
nitin-sao authored and igaw committed Aug 6, 2024
1 parent 67d7d75 commit 55e29b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3301,6 +3301,7 @@ struct nvme_cmd_effects_log {
* @NVME_CMD_EFFECTS_NCC: Namespace Capability Change
* @NVME_CMD_EFFECTS_NIC: Namespace Inventory Change
* @NVME_CMD_EFFECTS_CCC: Controller Capability Change
* @NVME_CMD_EFFECTS_CSER_MASK: Command Submission and Execution Relaxations
* @NVME_CMD_EFFECTS_CSE_MASK: Command Submission and Execution
* @NVME_CMD_EFFECTS_UUID_SEL: UUID Selection Supported
*/
Expand All @@ -3310,7 +3311,8 @@ enum nvme_cmd_effects {
NVME_CMD_EFFECTS_NCC = 1 << 2,
NVME_CMD_EFFECTS_NIC = 1 << 3,
NVME_CMD_EFFECTS_CCC = 1 << 4,
NVME_CMD_EFFECTS_CSE_MASK = 3 << 16,
NVME_CMD_EFFECTS_CSER_MASK = 3 << 14,
NVME_CMD_EFFECTS_CSE_MASK = 7 << 16,
NVME_CMD_EFFECTS_UUID_SEL = 1 << 19,
};

Expand Down

0 comments on commit 55e29b8

Please sign in to comment.