From: Keith Busch Date: Fri, 5 Jan 2018 23:48:57 +0000 (-0700) Subject: Fix verbose decoding for coalescing aggregation time X-Git-Tag: v1.6~134 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=32b11a0443dc81c257b9dfc742b218a006525feb;p=users%2Fhch%2Fnvme-cli.git Fix verbose decoding for coalescing aggregation time https://github.com/linux-nvme/nvme-cli/issues/246 Signed-off-by: Keith Busch --- diff --git a/nvme-print.c b/nvme-print.c index 04253d2..a6110b2 100644 --- a/nvme-print.c +++ b/nvme-print.c @@ -1409,7 +1409,7 @@ void nvme_feature_show_fields(__u32 fid, unsigned int result, unsigned char *buf printf("\tNumber of IO Submission Queues Allocated (NSQA): %u\n", (result & 0x0000ffff) + 1); break; case NVME_FEAT_IRQ_COALESCE: - printf("\tAggregation Time (TIME): %u ms\n", ((result & 0x0000ff00) >> 8) * 100); + printf("\tAggregation Time (TIME): %u usec\n", ((result & 0x0000ff00) >> 8) * 100); printf("\tAggregation Threshold (THR): %u\n", (result & 0x000000ff) + 1); break; case NVME_FEAT_IRQ_CONFIG: