]> www.infradead.org Git - users/sagi/libnvme.git/commit
mi: Add NVMe-MI Read MI Data Structure commands for controller and controller list
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 15 Sep 2021 09:13:44 +0000 (17:13 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Thu, 9 Jun 2022 11:06:51 +0000 (19:06 +0800)
commit31ddc5a687d1cf30dee22e448bfe8486a508c939
tree13856ff49c22b5447d247e626d16a3bec362c41c
parentef90bc1bf37f8392805baf3fc717378458cb68c4
mi: Add NVMe-MI Read MI Data Structure commands for controller and controller list

Add MI functions perform Read MI Data Structure commands (section 5.6 of
the NVMe-MI v1.1), to retrieve the controller list, and the controller
data.

Use these new functions to extend the mi-mctp example to show controller
info, as a 'controllers' subcommand.

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