]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
Add header to vendor commands in effects-log
authorAndreas Hindborg <andreas.hindborg@wdc.com>
Mon, 13 Sep 2021 20:02:33 +0000 (20:02 +0000)
committerKeith Busch <kbusch@kernel.org>
Wed, 6 Oct 2021 11:05:23 +0000 (05:05 -0600)
commite76148d91e4312768d161fd8d07b681143a8c66f
treecb17ea1a3bc89388020210a75fbe4be23e29bab8
parentdf7f9a90da21a087ce58fe75ce3e001fcb0729ad
Add header to vendor commands in effects-log

This patch adds a header preceding the opcode list when printing the
effects-log:

nvme effects-log /dev/nvmex
Admin Commands
ACS0     [Delete I/O Submission Queue     ] 00000001
ACS1     [Create I/O Submission Queue     ] 00000001
<snip>

Vendor Specific Admin Commands
ACS198   [Unknown                         ] 00000001
ACS204   [Unknown                         ] 0002001f

I/O Commands
IOCS0    [Flush                           ] 00000001
IOCS1    [Write                           ] 00000003
<snip>

Vendor Specific I/O Commands
IOCS129  [Unknown                         ] 00000003

The patch does not change binary or json output formats.

Signed-off-by: Andreas Hindborg <andreas.hindborg@wdc.com>
nvme-print.c