]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Add formatting of ZNS I/O Command opcodes
authorAndreas Hindborg <andreas.hindborg@wdc.com>
Mon, 13 Sep 2021 13:08:47 +0000 (13:08 +0000)
committerKeith Busch <kbusch@kernel.org>
Wed, 6 Oct 2021 11:05:23 +0000 (05:05 -0600)
Signed-off-by: Andreas Hindborg <andreas.hindborg@wdc.com>
nvme-print.c

index fc6d9c512b3f23547e1f9327b2cde2ed595bc99c..872bdb677599cb84c90bd301e9cdd655ada2a64e 100644 (file)
@@ -110,6 +110,9 @@ const char *nvme_cmd_to_string(int admin, __u8 opcode)
                case nvme_cmd_resv_release:     return "Reservation Release";
                case nvme_cmd_verify:           return "Verify";
                case nvme_cmd_copy:             return "Copy";
+               case nvme_zns_cmd_mgmt_send:    return "Zone Management Send";
+               case nvme_zns_cmd_mgmt_recv:    return "Zone Management Receive";
+               case nvme_zns_cmd_append:       return "Zone Append";
                }
        }