Skip to content

Commit

Permalink
types: Add enum for Completion Condition
Browse files Browse the repository at this point in the history
Add enum for CMPC 0h value

Signed-off-by: Francis Pravin <[email protected]>
  • Loading branch information
francispravin5 committed Aug 9, 2024
1 parent 09aac1a commit 7944b59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nvme/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -5194,6 +5194,7 @@ struct nvme_lba_status {

/**
* enum nvme_lba_status_cmpc - Get LBA Status Command Completion Condition
* @NVME_LBA_STATUS_CMPC_NO_CMPC: No indication of the completion condition
* @NVME_LBA_STATUS_CMPC_INCOMPLETE: Command completed, but additional LBA Status
* Descriptor Entries are available to transfer
* or scan did not complete (if ATYPE = 10h)
Expand All @@ -5202,6 +5203,7 @@ struct nvme_lba_status {
* transferred all available LBA Status Descriptors
*/
enum nvme_lba_status_cmpc {
NVME_LBA_STATUS_CMPC_NO_CMPC = 0x0,
NVME_LBA_STATUS_CMPC_INCOMPLETE = 0x1,
NVME_LBA_STATUS_CMPC_COMPLETE = 0x2,
};
Expand Down

0 comments on commit 7944b59

Please sign in to comment.