]> www.infradead.org Git - users/sagi/libnvme.git/commit
mi: Implement Get & Set Features Admin commands
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 8 Jun 2022 04:03:12 +0000 (12:03 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Fri, 12 Aug 2022 09:44:24 +0000 (17:44 +0800)
commit980a28c8f2b4f9b17db6e10b53a067ab08d5cb0e
treeaa84023323ecf4d00827aa0f0e6c7e9fea937c78
parent0e4d1ce8d5a08f65edf7a1451100d70cf416dd04
mi: Implement Get & Set Features Admin commands

This change adds a new MI Admin functions:

 nvme_mi_admin_get_features()
 nvme_mi_admin_set_features()

And a couple of helpers:

 nvme_mi_admin_get_features_data()
 nvme_mi_admin_get_features_simple()

These using the existing _args definitions, in a similar pattern to the
direct ioctl API.

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