---
name: "nvme_cc-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_cc-libnvme3"
---

# nvme\_cc-libnvme3(2)

This field indicates the controller configuration

## NAME

enum nvme\_cc - This field indicates the controller configuration

## SYNOPSIS

enum nvme\_cc {\
     **NVME\_CC\_EN\_SHIFT** , \
\
     **NVME\_CC\_CSS\_SHIFT** , \
\
     **NVME\_CC\_MPS\_SHIFT** , \
\
     **NVME\_CC\_AMS\_SHIFT** , \
\
     **NVME\_CC\_SHN\_SHIFT** , \
\
     **NVME\_CC\_IOSQES\_SHIFT** , \
\
     **NVME\_CC\_IOCQES\_SHIFT** , \
\
     **NVME\_CC\_CRIME\_SHIFT** , \
\
     **NVME\_CC\_EN\_MASK** , \
\
     **NVME\_CC\_CSS\_MASK** , \
\
     **NVME\_CC\_MPS\_MASK** , \
\
     **NVME\_CC\_AMS\_MASK** , \
\
     **NVME\_CC\_SHN\_MASK** , \
\
     **NVME\_CC\_CRIME\_MASK** , \
\
     **NVME\_CC\_IOSQES\_MASK** , \
\
     **NVME\_CC\_IOCQES\_MASK** , \
\
     **NVME\_CC\_CSS\_NVM** , \
\
     **NVME\_CC\_CSS\_CSI** , \
\
     **NVME\_CC\_CSS\_ADMIN** , \
\
     **NVME\_CC\_AMS\_RR** , \
\
     **NVME\_CC\_AMS\_WRRU** , \
\
     **NVME\_CC\_AMS\_VS** , \
\
     **NVME\_CC\_SHN\_NONE** , \
\
     **NVME\_CC\_SHN\_NORMAL** , \
\
     **NVME\_CC\_SHN\_ABRUPT** , \
\
     **NVME\_CC\_CRWME** , \
\
     **NVME\_CC\_CRIME**

};

## Constants

- NVME\_CC\_EN\_SHIFT

  Shift amount to get the enable

- NVME\_CC\_CSS\_SHIFT

  Shift amount to get the I/O command set selected

- NVME\_CC\_MPS\_SHIFT

  Shift amount to get the memory page size

- NVME\_CC\_AMS\_SHIFT

  Shift amount to get the arbitration mechanism selected

- NVME\_CC\_SHN\_SHIFT

  Shift amount to get the shutdown notification

- NVME\_CC\_IOSQES\_SHIFT

  Shift amount to get the I/O submission queue entry size

- NVME\_CC\_IOCQES\_SHIFT

  Shift amount to get the I/O completion queue entry size

- NVME\_CC\_CRIME\_SHIFT

  Shift amount to get the controller ready independent of media enable

- NVME\_CC\_EN\_MASK

  Mask to get the enable

- NVME\_CC\_CSS\_MASK

  Mask to get the I/O command set selected

- NVME\_CC\_MPS\_MASK

  Mask to get the memory page size

- NVME\_CC\_AMS\_MASK

  Mask to get the arbitration mechanism selected

- NVME\_CC\_SHN\_MASK

  Mask to get the shutdown notification

- NVME\_CC\_CRIME\_MASK

  Mask to get the I/O submission queue entry size

- NVME\_CC\_IOSQES\_MASK

  Mask to get the I/O completion queue entry size

- NVME\_CC\_IOCQES\_MASK

  Mask to get the controller ready independent of media enable

- NVME\_CC\_CSS\_NVM

  NVM command set

- NVME\_CC\_CSS\_CSI

  All supported I/O command sets

- NVME\_CC\_CSS\_ADMIN

  Admin command set only

- NVME\_CC\_AMS\_RR

  Round robin

- NVME\_CC\_AMS\_WRRU

  Weighted round robin with urgent priority class

- NVME\_CC\_AMS\_VS

  Vendor specific

- NVME\_CC\_SHN\_NONE

  No notification; no effect

- NVME\_CC\_SHN\_NORMAL

  Normal shutdown notification

- NVME\_CC\_SHN\_ABRUPT

  Abrupt shutdown notification

- NVME\_CC\_CRWME

  Controller ready with media enable

- NVME\_CC\_CRIME

  Controller ready independent of media enable
