diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 11:08:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 11:09:05 +0000 |
commit | 81e5ef4ae340ae4041f8029e7c14a3bc8baab46d (patch) | |
tree | 3b0b740dd83d6a1244e81e4270497ad8db31a9b7 /completions/bash-nvme-completion.sh | |
parent | Releasing debian version 2.8-2. (diff) | |
download | nvme-cli-81e5ef4ae340ae4041f8029e7c14a3bc8baab46d.tar.xz nvme-cli-81e5ef4ae340ae4041f8029e7c14a3bc8baab46d.zip |
Merging upstream version 2.9.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | completions/bash-nvme-completion.sh | 29 |
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 |