libnvme(9)

πŸ“¦ version 3.2, in arch rolling

🌸 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