]> www.infradead.org Git - users/sagi/libnvme.git/commit
ioctl: export nvme_{g,s}et_features_iocs_profile()
authorCaleb Sander <csander@purestorage.com>
Thu, 14 Sep 2023 21:14:13 +0000 (15:14 -0600)
committerDaniel Wagner <wagi@monom.org>
Wed, 20 Sep 2023 08:33:57 +0000 (10:33 +0200)
commit1b8477dd4a24c4332b67725a365632100ad5e4c7
tree1ba86d0dbf1f99edbf8463a3813fe7f8fd4ee66e
parentdb619f71737cf61c400f4ca26c9d08cc69d07622
ioctl: export nvme_{g,s}et_features_iocs_profile()

nvme_get_features_iocs_profile() and nvme_set_features_iocs_profile()
are defined but not exorted in libnvme.so.
nvme_set_features_iocs_profile()'s prototype was also removed,
so add it back.
IOCSI is a 9-bit value, so fix its bitmask and change its type to u16.

Signed-off-by: Caleb Sander <csander@purestorage.com>
src/libnvme.map
src/nvme/ioctl.c
src/nvme/ioctl.h
src/nvme/types.h