Skip to content

Commit fef2156

Browse files
authored
Merge pull request #115 from hreinecke/doc-update
fabrics: add missing function documentation and mapfile update
2 parents 7e43586 + 2891c7e commit fef2156

2 files changed

Lines changed: 25 additions & 12 deletions

File tree

src/libnvme.map

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ LIBNVME_1_0 {
319319
nvmf_subtype_str;
320320
nvmf_treq_str;
321321
nvmf_trtype_str;
322+
nvmf_eflags_str;
322323
local:
323324
*;
324325
};

src/nvme/fabrics.h

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,34 +50,46 @@ struct nvme_fabrics_config {
5050
};
5151

5252
/**
53-
* nvmf_trtype_str() -
54-
* @trtype:
53+
* nvmf_trtype_str() - Decode TRTYPE field
54+
* @trtype: value to be decoded
5555
*
56-
* Return:
56+
* Decode the transport type field in the discovery
57+
* log page entry.
58+
*
59+
* Return: decoded string
5760
*/
5861
const char *nvmf_trtype_str(__u8 trtype);
5962

6063
/**
61-
* nvmf_adrfam_str() -
62-
* @adrfam:
64+
* nvmf_adrfam_str() - Decode ADRFAM field
65+
* @adrfam: value to be decoded
6366
*
64-
* Return:
67+
* Decode the address family field in the discovery
68+
* log page entry.
69+
*
70+
* Return: decoded string
6571
*/
6672
const char *nvmf_adrfam_str(__u8 adrfam);
6773

6874
/**
69-
* nvmf_subtype_str() -
70-
* @subtype:
75+
* nvmf_subtype_str() - Decode SUBTYPE field
76+
* @subtype: value to be decoded
7177
*
72-
* Return:
78+
* Decode the subsystem type field in the discovery
79+
* log page entry.
80+
*
81+
* Return: decoded string
7382
*/
7483
const char *nvmf_subtype_str(__u8 subtype);
7584

7685
/**
77-
* nvmf_treq_str() -
78-
* @treq:
86+
* nvmf_treq_str() - Decode TREQ field
87+
* @treq: value to be decoded
7988
*
80-
* Return:
89+
* Decode the transport requirements field in the
90+
* discovery log page entry.
91+
*
92+
* Return: decoded string
8193
*/
8294
const char *nvmf_treq_str(__u8 treq);
8395

0 commit comments

Comments
 (0)