libnvme(9) API Manual libnvme(9)

# [NAME](#NAME)

enum nvme\_id\_ctrl\_nvmsr - This field reports information associated with the NVM Subsystem, see &struct nvme\_id\_ctrl.nvmsr.

# [SYNOPSIS](#SYNOPSIS)

enum nvme\_id\_ctrl\_nvmsr {  
**NVME\_CTRL\_NVMSR\_NVMESD\_SHIFT** ,  
**NVME\_CTRL\_NVMSR\_NVMEE\_SHIFT** ,  
**NVME\_CTRL\_NVMSR\_NVMESD\_MASK** ,  
**NVME\_CTRL\_NVMSR\_NVMEE\_MASK** ,  
**NVME\_CTRL\_NVMSR\_NVMESD** ,  
**NVME\_CTRL\_NVMSR\_NVMEE**

};

# [Constants](#Constants)

[NVME\_CTRL\_NVMSR\_NVMESD\_SHIFT](#NVME_CTRL_NVMSR_NVMESD_SHIFT)

NVMESD shift

[NVME\_CTRL\_NVMSR\_NVMEE\_SHIFT](#NVME_CTRL_NVMSR_NVMEE_SHIFT)

NVMEE shift

[NVME\_CTRL\_NVMSR\_NVMESD\_MASK](#NVME_CTRL_NVMSR_NVMESD_MASK)

NVMESD mask

[NVME\_CTRL\_NVMSR\_NVMEE\_MASK](#NVME_CTRL_NVMSR_NVMEE_MASK)

NVMEE mask

[NVME\_CTRL\_NVMSR\_NVMESD](#NVME_CTRL_NVMSR_NVMESD)

If set, then the NVM Subsystem is part of an NVMe Storage Device; if cleared, then the NVM Subsystem is not part of an NVMe Storage Device.

[NVME\_CTRL\_NVMSR\_NVMEE](#NVME_CTRL_NVMSR_NVMEE)

If set, then the NVM Subsystem is part of an NVMe Enclosure; if cleared, then the NVM Subsystem is not part of an NVMe Enclosure.

enum nvme\_id\_ctrl\_nvmsr October 2026

---

Document: nvme_id_ctrl_nvmsr-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
