libnvme(9)
πΈ NAME πΈ
okay so enum nvme_lm_migration_send_fields is literally the Migration Send command fields enum, straight outta the libnvme(9) API Manual. this is the glow-up list for all the shift, mask, and selector constants that make the Migration Send command do its thing. every single constant is below, no cap, no skipping π
β¨ SYNOPSIS β¨
enum nvme_lm_migration_send_fields {
NVME_LM_MIGRATION_SEND_MOS_SHIFT ,
NVME_LM_MIGRATION_SEND_MOS_MASK ,
NVME_LM_MIGRATION_SEND_SEL_SHIFT ,
NVME_LM_MIGRATION_SEND_SEL_MASK ,
NVME_LM_SEL_SUSPEND ,
NVME_LM_SEL_RESUME ,
NVME_LM_SEL_SET_CONTROLLER_STATE ,
NVME_LM_MIGRATION_SEND_UIDX_SHIFT ,
NVME_LM_MIGRATION_SEND_UIDX_MASK ,
NVME_LM_DUDMQ ,
NVME_LM_STYPE_SHIFT ,
NVME_LM_STYPE_MASK ,
NVME_LM_STYPE_SUSPEND_NOTIFICATION ,
NVME_LM_STYPE_SUSPEND ,
NVME_LM_SUSPEND_CNTLID_SHIFT ,
NVME_LM_SUSPEND_CNTLID_MASK ,
NVME_LM_RESUME_CNTLID_SHIFT ,
NVME_LM_RESUME_CNTLID_MASK ,
NVME_LM_SEQIND_SHIFT ,
NVME_LM_SEQIND_MASK ,
NVME_LM_SEQIND_NOT_FIRST_NOT_LAST ,
NVME_LM_SEQIND_FIRST ,
NVME_LM_SEQIND_LAST ,
NVME_LM_SEQIND_ENTIRE ,
NVME_LM_SET_CONTROLLER_STATE_CSUUIDI_SHIFT ,
NVME_LM_SET_CONTROLLER_STATE_CSUUIDI_MASK ,
NVME_LM_SET_CONTROLLER_STATE_CSVI_SHIFT ,
NVME_LM_SET_CONTROLLER_STATE_CSVI_MASK ,
NVME_LM_SET_CONTROLLER_STATE_CNTLID_SHIFT ,
NVME_LM_SET_CONTROLLER_STATE_CNTLID_MASK
};
π Constants π
NVME_LM_MIGRATION_SEND_MOS_SHIFTβ the shift you use to set the Management Operation Specific (MOS) field. iconic little number π«NVME_LM_MIGRATION_SEND_MOS_MASKβ the mask to set the MOS field. slay that bit pattern πNVME_LM_MIGRATION_SEND_SEL_SHIFTβ the shift amount to set the Select (SEL) field.NVME_LM_MIGRATION_SEND_SEL_MASKβ the mask to set the SEL field.NVME_LM_SEL_SUSPENDβ Migration Send β Suspend. it's giving pause βΈοΈNVME_LM_SEL_RESUMEβ Migration Send β Resume. and we're back, bestie βΆοΈNVME_LM_SEL_SET_CONTROLLER_STATEβ Migration Send β Set Controller State. main character state-setting energy πNVME_LM_MIGRATION_SEND_UIDX_SHIFTβ the shift to set the UUID Index (UIDX).NVME_LM_MIGRATION_SEND_UIDX_MASKβ the mask to set UIDX.NVME_LM_DUDMQβ Delete User Data Migration Queue. literally what it says, no notes ποΈNVME_LM_STYPE_SHIFTβ the shift amount to set the Suspend Type (STYPE).NVME_LM_STYPE_MASKβ the mask to set STYPE.NVME_LM_STYPE_SUSPEND_NOTIFICATIONβ Suspend Notification: the specified controller is going to be suspended in the future with a subsequent Migration Send command. so this is the "bestie, heads up" notification πNVME_LM_STYPE_SUSPENDβ Suspend: suspend the controller. yes, actually suspend it πNVME_LM_SUSPEND_CNTLID_SHIFTβ the shift amount to set the Controller ID (CNTLID) when SEL is Suspend.NVME_LM_SUSPEND_CNTLID_MASKβ the mask to set CNTLID with SEL Suspend.NVME_LM_RESUME_CNTLID_SHIFTβ the shift amount to set the Controller ID (CNTLID) when SEL is Resume.NVME_LM_RESUME_CNTLID_MASKβ the mask to set CNTLID when SEL is Resume.NVME_LM_SEQIND_SHIFTβ the shift amount to set the Sequence Indicator (SEQIND) field relative to MOS.NVME_LM_SEQIND_MASKβ the mask to set the SEQIND field relative to MOS.NVME_LM_SEQIND_NOT_FIRST_NOT_LASTβ this command is not the first or last of a sequence of two or more Migration Send commands with this management operation used to transfer the controller state from host to controller. middle-of-the-sequence representation, honestly π«ΆNVME_LM_SEQIND_FIRSTβ this command is the first of a sequence of two or more Migration Send commands. first out here, periodt π₯NVME_LM_SEQIND_LASTβ this command is the last command of a sequence of two or more Migration Send commands. closing the group chat with grace πNVME_LM_SEQIND_ENTIREβ this Migration Send command is the only command and contains the entire controller state for this management operation. solo main character, entire state in one go πNVME_LM_SET_CONTROLLER_STATE_CSUUIDI_SHIFTβ the shift amount to set the Controller State UUID Index (CSUUIDI).NVME_LM_SET_CONTROLLER_STATE_CSUUIDI_MASKβ the mask to set CSUUIDI.NVME_LM_SET_CONTROLLER_STATE_CSVI_SHIFTβ the shift amount to set the Controller State Version Index (CSVI).NVME_LM_SET_CONTROLLER_STATE_CSVI_MASKβ the mask to set CSVI.NVME_LM_SET_CONTROLLER_STATE_CNTLID_SHIFTβ the shift amount to set the Controller ID (CNTLID) when SEL is Set Controller State.NVME_LM_SET_CONTROLLER_STATE_CNTLID_MASKβ the mask to set CNTLID when SEL is Set Controller State.
that's the whole libnvme(9) manual page, dated October 2026 β mwah π bestie, you ate this enum for breakfast π«Ά
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms