]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Add read-recover level feature decoding
authorKeith Busch <keith.busch@gmail.com>
Sat, 17 Feb 2018 21:13:13 +0000 (14:13 -0700)
committerKeith Busch <keith.busch@gmail.com>
Sun, 18 Feb 2018 17:43:24 +0000 (10:43 -0700)
Signed-off-by: Keith Busch <keith.busch@gmail.com>
linux/nvme.h
nvme-print.c

index 437b92d3d1441841668b5e204f442464dd1287e6..8747acd3359b2b5affe9fcfc26f79d9f272688c8 100644 (file)
@@ -813,6 +813,7 @@ enum {
        NVME_FEAT_HOST_MEM_BUF  = 0x0d,
        NVME_FEAT_TIMESTAMP     = 0x0e,
        NVME_FEAT_KATO          = 0x0f,
+       NVME_FEAT_RRL           = 0x12,
        NVME_FEAT_PLM_CONFIG    = 0x13,
        NVME_FEAT_PLM_WINDOW    = 0x14,
        NVME_FEAT_SW_PROGRESS   = 0x80,
index eeb952fabb29965f05cbf3a5c9933533b31cd7b2..91df135aa973d6ef273c3914fc319ab55370f81d 100644 (file)
@@ -1307,6 +1307,7 @@ char *nvme_feature_to_string(int feature)
        case NVME_FEAT_AUTO_PST:        return "Autonomous Power State Transition";
        case NVME_FEAT_HOST_MEM_BUF:    return "Host Memory Buffer";
        case NVME_FEAT_KATO:            return "Keep Alive Timer";
+       case NVME_FEAT_RRL:             return "Read Recovery Level";
        case NVME_FEAT_PLM_CONFIG:      return "Predicatable Latency Mode Config";
        case NVME_FEAT_PLM_WINDOW:      return "Predicatable Latency Mode Window";
        case NVME_FEAT_SW_PROGRESS:     return "Software Progress";