Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 36 additions & 29 deletions nvme-print.c
Original file line number Diff line number Diff line change
Expand Up @@ -875,43 +875,50 @@ void nvme_show_sanitize_log(struct nvme_sanitize_log_page *sanitize,
const char *nvme_feature_to_string(enum nvme_features_id feature)
{
switch (feature) {
case NVME_FEAT_FID_ARBITRATION: return "Arbitration";
case NVME_FEAT_FID_POWER_MGMT: return "Power Management";
case NVME_FEAT_FID_LBA_RANGE: return "LBA Range Type";
case NVME_FEAT_FID_TEMP_THRESH: return "Temperature Threshold";
case NVME_FEAT_FID_ERR_RECOVERY:return "Error Recovery";
case NVME_FEAT_FID_VOLATILE_WC: return "Volatile Write Cache";
case NVME_FEAT_FID_NUM_QUEUES: return "Number of Queues";
case NVME_FEAT_FID_IRQ_COALESCE:return "Interrupt Coalescing";
case NVME_FEAT_FID_IRQ_CONFIG: return "Interrupt Vector Configuration";
case NVME_FEAT_FID_WRITE_ATOMIC:return "Write Atomicity Normal";
case NVME_FEAT_FID_ASYNC_EVENT: return "Async Event Configuration";
case NVME_FEAT_FID_AUTO_PST: return "Autonomous Power State Transition";
case NVME_FEAT_FID_HOST_MEM_BUF:return "Host Memory Buffer";
case NVME_FEAT_FID_TIMESTAMP: return "Timestamp";
case NVME_FEAT_FID_KATO: return "Keep Alive Timer";
case NVME_FEAT_FID_HCTM: return "Host Controlled Thermal Management";
case NVME_FEAT_FID_NOPSC: return "Non-Operational Power State Config";
case NVME_FEAT_FID_RRL: return "Read Recovery Level";
case NVME_FEAT_FID_PLM_CONFIG: return "Predictable Latency Mode Config";
case NVME_FEAT_FID_PLM_WINDOW: return "Predictable Latency Mode Window";
case NVME_FEAT_FID_ARBITRATION: return "Arbitration";
case NVME_FEAT_FID_POWER_MGMT: return "Power Management";
case NVME_FEAT_FID_LBA_RANGE: return "LBA Range Type";
case NVME_FEAT_FID_TEMP_THRESH: return "Temperature Threshold";
case NVME_FEAT_FID_ERR_RECOVERY: return "Error Recovery";
case NVME_FEAT_FID_VOLATILE_WC: return "Volatile Write Cache";
case NVME_FEAT_FID_NUM_QUEUES: return "Number of Queues";
case NVME_FEAT_FID_IRQ_COALESCE: return "Interrupt Coalescing";
case NVME_FEAT_FID_IRQ_CONFIG: return "Interrupt Vector Configuration";
case NVME_FEAT_FID_WRITE_ATOMIC: return "Write Atomicity Normal";
case NVME_FEAT_FID_ASYNC_EVENT: return "Async Event Configuration";
case NVME_FEAT_FID_AUTO_PST: return "Autonomous Power State Transition";
case NVME_FEAT_FID_HOST_MEM_BUF: return "Host Memory Buffer";
case NVME_FEAT_FID_TIMESTAMP: return "Timestamp";
case NVME_FEAT_FID_KATO: return "Keep Alive Timer";
case NVME_FEAT_FID_HCTM: return "Host Controlled Thermal Management";
case NVME_FEAT_FID_NOPSC: return "Non-Operational Power State Config";
case NVME_FEAT_FID_RRL: return "Read Recovery Level";
case NVME_FEAT_FID_PLM_CONFIG: return "Predictable Latency Mode Config";
case NVME_FEAT_FID_PLM_WINDOW: return "Predictable Latency Mode Window";
case NVME_FEAT_FID_LBA_STS_INTERVAL: return "LBA Status Interval";
case NVME_FEAT_FID_HOST_BEHAVIOR: return "Host Behavior";
case NVME_FEAT_FID_SANITIZE: return "Sanitize";
case NVME_FEAT_FID_SANITIZE: return "Sanitize";
case NVME_FEAT_FID_ENDURANCE_EVT_CFG: return "Endurance Event Group Configuration";
case NVME_FEAT_FID_IOCS_PROFILE: return "I/O Command Set Profile";
case NVME_FEAT_FID_SPINUP_CONTROL: return "Spinup Control";
case NVME_FEAT_FID_POWER_LOSS_SIGNAL: return "Power Loss Signaling Config";
case NVME_FEAT_FID_PERF_CHARACTERISTICS:return "Performance Characteristics";
case NVME_FEAT_FID_FDP: return "Flexible Direct Placement";
case NVME_FEAT_FID_FDP_EVENTS: return "Flexible Direct Placement Events";
case NVME_FEAT_FID_NS_ADMIN_LABEL: return "Namespace Admin Label";
case NVME_FEAT_FID_KEY_VALUE: return "Key Value Configuration";
case NVME_FEAT_FID_CTRL_DATA_QUEUE: return "Controller Data Queue";
case NVME_FEAT_FID_EMB_MGMT_CTRL_ADDR: return "Embedded Management Controller Address";
case NVME_FEAT_FID_HOST_MGMT_AGENT_ADDR:return "Host Management Agent Address";
case NVME_FEAT_FID_ENH_CTRL_METADATA: return "Enhanced Controller Metadata";
case NVME_FEAT_FID_CTRL_METADATA: return "Controller Metadata";
case NVME_FEAT_FID_NS_METADATA: return "Namespace Metadata";
case NVME_FEAT_FID_SW_PROGRESS: return "Software Progress";
case NVME_FEAT_FID_HOST_ID: return "Host Identifier";
case NVME_FEAT_FID_RESV_MASK: return "Reservation Notification Mask";
case NVME_FEAT_FID_RESV_PERSIST:return "Reservation Persistence";
case NVME_FEAT_FID_NS_METADATA: return "Namespace Metadata";
case NVME_FEAT_FID_SW_PROGRESS: return "Software Progress";
case NVME_FEAT_FID_HOST_ID: return "Host Identifier";
case NVME_FEAT_FID_RESV_MASK: return "Reservation Notification Mask";
case NVME_FEAT_FID_RESV_PERSIST: return "Reservation Persistence";
case NVME_FEAT_FID_WRITE_PROTECT: return "Namespace Write Protect";
case NVME_FEAT_FID_FDP: return "Flexible Direct Placement";
case NVME_FEAT_FID_FDP_EVENTS: return "Flexible Direct Placement Events";
case NVME_FEAT_FID_CTRL_DATA_QUEUE: return "Controller Data Queue";
case NVME_FEAT_FID_BP_WRITE_PROTECT: return "Boot Partition Write Protection Config";
}
/*
* We don't use the "default:" statement to let the compiler warning if
Expand Down
2 changes: 1 addition & 1 deletion subprojects/libnvme.wrap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[wrap-git]
url = https://github.com/linux-nvme/libnvme.git
revision = 27ed889d0b1917919763816c97a49bb6e29d4547
revision = e9c6fe62207ed33c9da92e06d18ab15c58bb9c4c

[provide]
libnvme = libnvme_dep
Expand Down
Loading