]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme-print: Added missing logpage names in nvme_log_to_string function
authorshankara <shankaralingegowda.singonahalli@solidigm.com>
Wed, 20 Sep 2023 08:13:06 +0000 (01:13 -0700)
committerDaniel Wagner <wagi@monom.org>
Fri, 6 Oct 2023 07:34:37 +0000 (09:34 +0200)
Signed-off-by: shankaralingegowda <shankaralingegowda.singonahalli@solidigmtechnology.com>
nvme-print.c

index ea5bf76cbb88bfe6465547e7e90cd5d436bbda48..7b5751692d39eec0edb698e2200dadd172f3edf2 100644 (file)
@@ -664,12 +664,19 @@ const char *nvme_log_to_string(__u8 lid)
        case NVME_LOG_LID_ENDURANCE_GROUP:              return "Endurance Group Information";
        case NVME_LOG_LID_PREDICTABLE_LAT_NVMSET:       return "Predictable Latency Per NVM Set";
        case NVME_LOG_LID_PREDICTABLE_LAT_AGG:          return "Predictable Latency Event Aggregate";
+       case NVME_LOG_LID_MEDIA_UNIT_STATUS:            return "Media Unit Status";
+       case NVME_LOG_LID_SUPPORTED_CAP_CONFIG_LIST:    return "Supported Capacity Configuration List";
        case NVME_LOG_LID_ANA:                          return "Asymmetric Namespace Access";
        case NVME_LOG_LID_PERSISTENT_EVENT:             return "Persistent Event Log";
        case NVME_LOG_LID_LBA_STATUS:                   return "LBA Status Information";
        case NVME_LOG_LID_ENDURANCE_GRP_EVT:            return "Endurance Group Event Aggregate";
        case NVME_LOG_LID_FID_SUPPORTED_EFFECTS:        return "Feature Identifiers Supported and Effects";
+       case NVME_LOG_LID_MI_CMD_SUPPORTED_EFFECTS:     return "NVMe-MI Commands Supported and Effects";
        case NVME_LOG_LID_BOOT_PARTITION:               return "Boot Partition";
+       case NVME_LOG_LID_FDP_CONFIGS:                  return "FDP Configurations";
+       case NVME_LOG_LID_FDP_RUH_USAGE:                return "Reclaim Unit Handle Usage";
+       case NVME_LOG_LID_FDP_STATS:                    return "FDP Statistics";
+       case NVME_LOG_LID_FDP_EVENTS:                   return "FDP Events";
        case NVME_LOG_LID_DISCOVER:                     return "Discovery";
        case NVME_LOG_LID_RESERVATION:                  return "Reservation Notification";
        case NVME_LOG_LID_SANITIZE:                     return "Sanitize Status";