nvme_identify_nvmset_list - Man Page
Retrieves NVM Set List
int nvme_identify_nvmset_list (int fd , __u16 nvmsetid , struct nvme_id_nvmset_list *nvmset );
File descriptor of nvme device
NVM Set Identifier
User space destination address to transfer the data
Retrieves an NVM Set List, struct nvme_id_nvmset_list. The data structure is an ordered list by NVM Set Identifier, starting with the first NVM Set Identifier supported by the NVM subsystem that is equal to or greater than the NVM Set Identifier.
See struct nvme_id_nvmset_list for the definition of the returned structure.
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
February 2023 libnvme API manual