From 81b5524bc887cb63447f5acbe41bb128bf62cb8c Mon Sep 17 00:00:00 2001 From: Minwoo Im Date: Sun, 25 Aug 2019 22:26:42 +0900 Subject: [PATCH] id-ctrl: show Persistent Event Log Size(PELS) 1.4 also has introduced Persistent Event Log Page. This field will indicate size of the log in 64KB units. Signed-off-by: Minwoo Im --- nvme-print.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nvme-print.c b/nvme-print.c index 10802d99..11d20ef9 100644 --- a/nvme-print.c +++ b/nvme-print.c @@ -1149,6 +1149,7 @@ void __show_nvme_id_ctrl(struct nvme_id_ctrl *ctrl, unsigned int mode, void (*ve show_nvme_id_ctrl_anacap(ctrl->anacap); printf("anagrpmax : %d\n", ctrl->anagrpmax); printf("nanagrpid : %d\n", le32_to_cpu(ctrl->nanagrpid)); + printf("pels : %d\n", le32_to_cpu(ctrl->pels)); printf("sqes : %#x\n", ctrl->sqes); if (human) show_nvme_id_ctrl_sqes(ctrl->sqes); -- 2.50.1