]> www.infradead.org Git - users/sagi/libnvme.git/commit
mi: Add Admin channel Get Log Page command
authorJeremy Kerr <jk@codeconstruct.com.au>
Tue, 26 Oct 2021 08:31:14 +0000 (16:31 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Tue, 21 Jun 2022 03:52:55 +0000 (11:52 +0800)
commit0d4a1a395a38b9ef24f2a9801ff3a8530236ce68
treefaa70b5efbfea5f742194dcce7cce399fb49fc6f
parent9237ba8eb1d5b81d4291d78a264612e804ccb6d7
mi: Add Admin channel Get Log Page command

This change add support for the Get Log Page command over the MI Admin
channel:

  int nvme_mi_admin_get_log_page(nvme_mi_ctrl_t ctrl,
 struct nvme_get_log_args *args)

Since the log data can be large, we implement this as chunked transfers
of >4096 bytes.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
src/libnvme-mi.map
src/nvme/mi.c
src/nvme/mi.h