From c219102754d6290b38aa57aeedb060d17ab44643 Mon Sep 17 00:00:00 2001 From: Martin George Date: Sat, 19 Mar 2022 17:21:49 +0530 Subject: [PATCH] nvme-print: print discovery async event support Print the discovery log page change notices async event support in nvme_feature_show_fields(). Signed-off-by: Martin George --- nvme-print.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nvme-print.c b/nvme-print.c index 2b50fd52..4cb6f3cc 100644 --- a/nvme-print.c +++ b/nvme-print.c @@ -6772,6 +6772,8 @@ void nvme_feature_show_fields(enum nvme_features_id fid, unsigned int result, un printf("\tDisable Normal (DN): %s\n", (result & 0x00000001) ? "True":"False"); break; case NVME_FEAT_FID_ASYNC_EVENT: + printf("\tDiscovery Log Page Change Notices: %s\n", + ((result & 0x80000000) >> 31) ? "Send async event":"Do not send async event"); printf("\tEndurance Group Event Aggregate Log Change Notices: %s\n", ((result & 0x00004000) >> 14) ? "Send async event":"Do not send async event"); printf("\tLBA Status Information Notices : %s\n", -- 2.50.1