Skip to content

Commit 56ca8b4

Browse files
DanceDanceigaw
authored andcommitted
types: Fix Live Migration SEQIND Shift and Mask
This change fixes Sequence Indicator (SEQIND) Shift and Mask to match the NVM Express Base Specification, Revision 2.1. Signed-off-by: Dmitry Sherstoboev <sdmitry@google.com>
1 parent 90f741d commit 56ca8b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nvme/types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9990,8 +9990,8 @@ enum nvme_lm_migration_send_fields {
99909990
NVME_LM_RESUME_CNTLID_MASK = 0xffff,
99919991

99929992
/* Migration Send - Set Controller State */
9993-
NVME_LM_SEQIND_SHIFT = 16,
9994-
NVME_LM_SEQIND_MASK = 0xf,
9993+
NVME_LM_SEQIND_SHIFT = 0,
9994+
NVME_LM_SEQIND_MASK = 0x3,
99959995
NVME_LM_SEQIND_NOT_FIRST_NOT_LAST = 0,
99969996
NVME_LM_SEQIND_FIRST = 1,
99979997
NVME_LM_SEQIND_LAST = 2,

0 commit comments

Comments
 (0)