summaryrefslogtreecommitdiffstats
path: root/completions/bash-nvme-completion.sh
diff options
context:
space:
mode:
Diffstat (limited to 'completions/bash-nvme-completion.sh')
-rw-r--r--completions/bash-nvme-completion.sh29
1 files changed, 27 insertions, 2 deletions
diff --git a/completions/bash-nvme-completion.sh b/completions/bash-nvme-completion.sh
index d862aab..f5cdb43 100644
--- a/completions/bash-nvme-completion.sh
+++ b/completions/bash-nvme-completion.sh
@@ -453,6 +453,20 @@ nvme_list_opts () {
opts+=" --opcode= -O --namespace-id= -n --data-len= -l \
--nmimt= -m --nmd0= -0 --nmd1= -1 --input-file= -i"
;;
+ "get-reg")
+ opts+=" --offset, -O --human-readable -H --cap --vs --cmbloc \
+ --cmbsz --bpinfo --cmbsts --cmbebs --cmbswtp --crto \
+ --pmrcap --pmrsts --pmrebs --pmrswtp --intms --intmc \
+ --cc --csts --nssr --aqa --asq --acq --bprsel --bpmbl \
+ --cmbmsc --nssd --pmrctl --pmrmscl --pmrmscu \
+ --output-format -o --verbose -v"
+ ;;
+ "set-reg")
+ opts+=" --offset, -O --value= -V --mmio32 -m --intms= --intmc= \
+ --cc= --csts= --nssr= --aqa= --asq= --acq= --bprsel= \
+ --bpmbl= --cmbmsc= --nssd= --pmrctl= --pmrmscl= \
+ --pmrmscu= --output-format= -o --verbose= -v"
+ ;;
"version")
opts+=$NO_OPTS
;;
@@ -1444,6 +1458,15 @@ plugin_ocp_opts () {
"telemetry-string-log")
opts+=" --output-file= -o"
;;
+ "set-telemetry-profile")
+ opts+=" --telemetry-profile-select= -t"
+ ;;
+ "set-dssd-async-event-config")
+ opts+=" --enable-panic-notices -e --save -s"
+ ;;
+ "get-dssd-power-state-feature")
+ opts+=" --sel= -S"
+ ;;
"help")
opts+=$NO_OPTS
;;
@@ -1519,7 +1542,9 @@ _nvme_subcmds () {
clear-fw-activate-history eol-plp-failure-mode \
clear-pcie-correctable-error-counters \
vs-fw-activate-history device-capability-log \
- set-dssd-power-state-feature telemetry-string-log"
+ set-dssd-power-state-feature telemetry-string-log \
+ set-telemetry-profile set-dssd-async-event-config \
+ get-dssd-async-event-config"
)
# Associative array mapping plugins to corresponding option completions
@@ -1571,7 +1596,7 @@ _nvme_subcmds () {
rpmb boot-part-log fid-support-effects-log \
supported-log-pages lockdown media-unit-stat-log \
supported-cap-config-log dim show-topology list-endgrp \
- nvme-mi-recv nvme-mi-send"
+ nvme-mi-recv nvme-mi-send get-reg set-reg"
# Add plugins:
for plugin in "${!_plugin_subcmds[@]}"; do