nvme-cli: add prints for new HMB identify fields of TP 4002
PATCH 1/1 nvme-cli: add prints for new HMB identify fields of TP 4002
Add prints to __show_nvme_id_ctrl() for fields which were added in TP 4002 which is "HMB Enhancements".
Signed-off-by Minwoo Im <minwoo.im.dev at gmail.com>
--- nvme-print.c | 2 ++ 1 file changed, 2 insertions(+)
nvme-print.c +2 -0
@@ -860,6 +860,8 @@ void __show_nvme_id_ctrl(struct nvme_id_ctrl *ctrl, unsigned int mode, void (*veprintf ("sanicap : %#x\n" ,le32_to_cpu (ctrl->sanicap));if (human)show_nvme_id_ctrl_sanicap (ctrl->sanicap); +printf ("hmminds : %d\n" ,le32_to_cpu (ctrl->hmminds)); +printf ("hmmaxd : %d\n" ,le16_to_cpu (ctrl->hmmaxd));printf ("sqes : %#x\n" , ctrl->sqes);if (human)show_nvme_id_ctrl_sqes (ctrl->sqes);
Signature · 1 line
2.7.4
PATCH 1/1 nvme-cli: add prints for new HMB identify fields of TP 4002
Looks good,
Reviewed-by Christoph Hellwig <hch at lst.de>
Keith Busch
AppliedPATCH 1/1 nvme-cli: add prints for new HMB identify fields of TP 4002
In reply to Minwoo ImQuoted 4 lines · Minwoo Im
Add prints to
__show_nvme_id_ctrl()for fields which were added in TP 4002 which is "HMB Enhancements".Signed-off-by Minwoo Im <minwoo.im.dev at gmail.com>
Thanks, applied.