From: Minwoo Im Date: Sun, 25 Aug 2019 13:26:42 +0000 (+0900) Subject: id-ctrl: show Persistent Event Log Size(PELS) X-Git-Tag: v1.10~93^2~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=81b5524bc887cb63447f5acbe41bb128bf62cb8c;p=users%2Fsagi%2Fnvme-cli.git 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 --- 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);