1
0
Fork 0

Merging upstream version 1.10.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 10:50:54 +01:00
parent 05578a6ab9
commit a02d194ad0
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
946 changed files with 4401 additions and 1290 deletions

View file

@ -205,6 +205,23 @@ The nvme command status if a response was received (see
:c:type:`enum nvme_status_field <nvme_status_field>`) or -1 with errno set otherwise.
.. c:function:: size_t nvme_get_ana_log_len_from_id_ctrl (const struct nvme_id_ctrl *id_ctrl, bool rgo)
Retrieve maximum possible ANA log size
**Parameters**
``const struct nvme_id_ctrl *id_ctrl``
Controller identify data
``bool rgo``
If true, return maximum log page size without NSIDs
**Return**
A byte limit on the size of the controller's ANA log page
.. c:function:: int nvme_get_ana_log_len (int fd, size_t *analen)
Retrieve size of the current ANA log
@ -699,6 +716,26 @@ The string containing the TLS identity. It is the responsibility
of the caller to free the returned string.
.. c:function:: long nvme_revoke_tls_key (const char *keyring, const char *key_type, const char *identity)
Revoke TLS key from keyring
**Parameters**
``const char *keyring``
Keyring to use
``const char *key_type``
Type of the key to revoke
``const char *identity``
Key identity string
**Return**
0 on success or on failure -1 with errno set.
.. c:function:: char * nvme_export_tls_key (const unsigned char *key_data, int key_len)
Export a TLS key