libnvme(2) API Manual libnvme(2)

enum nvme_vs - This field indicates the version

enum nvme_vs {
NVME_VS_TER_SHIFT ,
NVME_VS_MNR_SHIFT ,
NVME_VS_MJR_SHIFT ,
NVME_VS_TER_MASK ,
NVME_VS_MNR_MASK ,
NVME_VS_MJR_MASK

};

Shift amount to get the tertiary version
Shift amount to get the minor version
Shift amount to get the major version
Mask to get the tertiary version
Mask to get the minor version
Mask to get the major version
enum nvme_vs January 2025