summaryrefslogtreecommitdiffstats
path: root/nvme-wrap.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 07:59:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 07:59:35 +0000
commitf42531334c05b7f49ae43c0a27e347a487fb2667 (patch)
treee7a40dd5265005869a4e85eb1e96fdc588b42ef0 /nvme-wrap.c
parentAdding upstream version 2.3. (diff)
downloadnvme-cli-f42531334c05b7f49ae43c0a27e347a487fb2667.tar.xz
nvme-cli-f42531334c05b7f49ae43c0a27e347a487fb2667.zip
Adding upstream version 2.4.upstream/2.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'nvme-wrap.c')
-rw-r--r--nvme-wrap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nvme-wrap.c b/nvme-wrap.c
index ae7cd92..cee9b23 100644
--- a/nvme-wrap.c
+++ b/nvme-wrap.c
@@ -158,6 +158,12 @@ int nvme_cli_get_log(struct nvme_dev *dev, struct nvme_get_log_args *args)
return do_admin_args_op(get_log, dev, args);
}
+int nvme_cli_get_log_page(struct nvme_dev *dev, __u32 xfer_len,
+ struct nvme_get_log_args *args)
+{
+ return do_admin_op(get_log_page, dev, xfer_len, args);
+}
+
int nvme_cli_get_nsid_log(struct nvme_dev *dev, bool rae,
enum nvme_cmd_get_log_lid lid,
__u32 nsid, __u32 len, void *log)