Skip to content

Commit

Permalink
nvme-print: add NVMe 2.1 get log page LIDs string
Browse files Browse the repository at this point in the history
Added also Phy Rx EOM log page missed.

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t authored and igaw committed Jan 7, 2025
1 parent 7a67118 commit c808e72
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nvme-print.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,11 +756,21 @@ const char *nvme_log_to_string(__u8 lid)
case NVME_LOG_LID_MI_CMD_SUPPORTED_EFFECTS: return "NVMe-MI Commands Supported and Effects";
case NVME_LOG_LID_CMD_AND_FEAT_LOCKDOWN: return "Command and Feature Lockdown";
case NVME_LOG_LID_BOOT_PARTITION: return "Boot Partition";
case NVME_LOG_LID_ROTATIONAL_MEDIA_INFO: return "Rotational Media Information";
case NVME_LOG_LID_DISPERSED_NS_PARTICIPATING_NSS:return "Dispersed Namespace Participating NVM Subsystems";
case NVME_LOG_LID_MGMT_ADDR_LIST: return "Management Address List";
case NVME_LOG_LID_PHY_RX_EOM: return "Physical Interface Receiver Eye Opening Measurement";
case NVME_LOG_LID_REACHABILITY_GROUPS: return "Reachability Groups";
case NVME_LOG_LID_REACHABILITY_ASSOCIATIONS: return "Reachability Associations";
case NVME_LOG_LID_CHANGED_ALLOC_NS_LIST: return "Changed Allocated Namespace List";
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_HOST_DISCOVER: return "Host Discovery";
case NVME_LOG_LID_AVE_DISCOVER: return "AVE Discovery";
case NVME_LOG_LID_PULL_MODEL_DDC_REQ: return "Pull Model DDC Request";
case NVME_LOG_LID_RESERVATION: return "Reservation Notification";
case NVME_LOG_LID_SANITIZE: return "Sanitize Status";
case NVME_LOG_LID_ZNS_CHANGED_ZONES: return "Changed Zone List";
Expand Down

0 comments on commit c808e72

Please sign in to comment.