Skip to content

Commit 537bef9

Browse files
authored
Merge pull request #237 from Arunpandian15/cleanup_Description
types: Add doc description for fields used
2 parents 37b1de9 + a956ee3 commit 537bef9

1 file changed

Lines changed: 55 additions & 54 deletions

File tree

src/nvme/types.h

Lines changed: 55 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2013,17 +2013,18 @@ struct nvme_id_nvmset_list {
20132013

20142014
/**
20152015
* struct nvme_id_independent_id_ns -
2016-
* @nsfeat:
2017-
* @nmic:
2018-
* @rescap:
2019-
* @fpi:
2020-
* @anagrpid:
2021-
* @nsattr:
2022-
* @rsvd9:
2023-
* @nvmsetid:
2024-
* @endgid:
2025-
* @nstat:
2026-
* @rsvd15:
2016+
* @nsfeat: common namespace features
2017+
* @nmic: Namespace Multi-path I/O and Namespace
2018+
* Sharing Capabilities
2019+
* @rescap: Reservation Capabilities
2020+
* @fpi: Format Progress Indicator
2021+
* @anagrpid: ANA Group Identifier
2022+
* @nsattr: Namespace Attributes
2023+
* @rsvd9: reserved
2024+
* @nvmsetid: NVM Set Identifier
2025+
* @endgid: Endurance Group Identifier
2026+
* @nstat: Namespace Status
2027+
* @rsvd15: reserved
20272028
*/
20282029
struct nvme_id_independent_id_ns {
20292030
__u8 nsfeat;
@@ -2041,8 +2042,8 @@ struct nvme_id_independent_id_ns {
20412042

20422043
/**
20432044
* struct nvme_id_ns_granularity_desc -
2044-
* @nszegran:
2045-
* @ncapgran:
2045+
* @nszegran: Namespace Size Granularity
2046+
* @ncapgran: Namespace Capacity Granularity
20462047
*/
20472048
struct nvme_id_ns_granularity_desc {
20482049
__le64 nszegran;
@@ -2051,11 +2052,11 @@ struct nvme_id_ns_granularity_desc {
20512052

20522053
/**
20532054
* struct nvme_id_ns_granularity_list -
2054-
* @attributes:
2055-
* @num_descriptors:
2056-
* @rsvd5:
2057-
* @entry:
2058-
* @rsvd288:
2055+
* @attributes: Namespace Granularity Attributes
2056+
* @num_descriptors: Number of Descriptors
2057+
* @rsvd5: reserved
2058+
* @entry: Namespace Granularity Descriptor
2059+
* @rsvd288: reserved
20592060
*/
20602061
struct nvme_id_ns_granularity_list {
20612062
__le32 attributes;
@@ -2067,9 +2068,9 @@ struct nvme_id_ns_granularity_list {
20672068

20682069
/**
20692070
* struct nvme_id_uuid_list_entry -
2070-
* @header:
2071-
* @rsvd1:
2072-
* @uuid:
2071+
* @header: UUID Lists Entry Header
2072+
* @rsvd1: reserved
2073+
* @uuid: 128-bit Universally Unique Identifier
20732074
*/
20742075
struct nvme_id_uuid_list_entry {
20752076
__u8 header;
@@ -2093,8 +2094,8 @@ enum nvme_id_uuid {
20932094

20942095
/**
20952096
* struct nvme_id_uuid_list -
2096-
* @rsvd0:
2097-
* @entry:
2097+
* @rsvd0: reserved
2098+
* @entry: UUID list entry
20982099
*/
20992100
struct nvme_id_uuid_list {
21002101
__u8 rsvd0[32];
@@ -2103,8 +2104,8 @@ struct nvme_id_uuid_list {
21032104

21042105
/**
21052106
* struct nvme_ctrl_list -
2106-
* @num:
2107-
* @identifier:
2107+
* @num: Number of Identifiers
2108+
* @identifier: NVM subsystem unique controller identifier
21082109
*/
21092110
struct nvme_ctrl_list {
21102111
__le16 num;
@@ -2113,21 +2114,21 @@ struct nvme_ctrl_list {
21132114

21142115
/**
21152116
* struct nvme_ns_list -
2116-
* @ns:
2117+
* @ns: Namespace Identifier
21172118
*/
21182119
struct nvme_ns_list {
21192120
__le32 ns[NVME_ID_NS_LIST_MAX];
21202121
};
21212122

21222123
/**
21232124
* struct nvme_id_ctrl_nvm -
2124-
* @vsl:
2125-
* @wzsl:
2126-
* @wusl:
2127-
* @dmrl:
2128-
* @dmrsl:
2129-
* @dmsl:
2130-
* @rsvd16:
2125+
* @vsl: Verify Size Limit
2126+
* @wzsl: Write Zeroes Size Limit
2127+
* @wusl: Write Uncorrectable Size Limit
2128+
* @dmrl: Dataset Management Ranges Limit
2129+
* @dmrsl: Dataset Management Range Size Limit
2130+
* @dmsl: Dataset Management Size Limit
2131+
* @rsvd16: reserved
21312132
*/
21322133
struct nvme_id_ctrl_nvm {
21332134
__u8 vsl;
@@ -2157,9 +2158,9 @@ struct nvme_nvm_id_ns {
21572158

21582159
/**
21592160
* struct nvme_zns_lbafe -
2160-
* @zsze:
2161-
* @zdes:
2162-
* @rsvd9:
2161+
* @zsze: Zone Size
2162+
* @zdes: Zone Descriptor Extension Size
2163+
* @rsvd9: reserved
21632164
*/
21642165
struct nvme_zns_lbafe {
21652166
__le64 zsze;
@@ -2224,24 +2225,24 @@ struct nvme_zns_id_ctrl {
22242225

22252226
/**
22262227
* struct nvme_primary_ctrl_cap -
2227-
* @cntlid:
2228-
* @portid:
2229-
* @crt:
2230-
* @rsvd5:
2231-
* @vqfrt:
2232-
* @vqrfa:
2233-
* @vqrfap:
2234-
* @vqprt:
2235-
* @vqfrsm:
2236-
* @vqgran:
2237-
* @rsvd48:
2238-
* @vifrt:
2239-
* @virfa:
2240-
* @virfap:
2241-
* @viprt:
2242-
* @vifrsm:
2243-
* @vigran:
2244-
* @rsvd80:
2228+
* @cntlid: Controller Identifier
2229+
* @portid: Port Identifier
2230+
* @crt: Controller Resource Types
2231+
* @rsvd5: reserved
2232+
* @vqfrt: VQ Resources Flexible Total
2233+
* @vqrfa: VQ Resources Flexible Assigned
2234+
* @vqrfap: VQ Resources Flexible Allocated to Primary
2235+
* @vqprt: VQ Resources Private Total
2236+
* @vqfrsm: VQ Resources Flexible Secondary Maximum
2237+
* @vqgran: VQ Flexible Resource Preferred Granularity
2238+
* @rsvd48: reserved
2239+
* @vifrt: VI Resources Flexible Total
2240+
* @virfa: VI Resources Flexible Assigned
2241+
* @virfap: VI Resources Flexible Allocated to Primary
2242+
* @viprt: VI Resources Private Total
2243+
* @vifrsm: VI Resources Flexible Secondary Maximum
2244+
* @vigran: VI Flexible Resource Preferred Granularity
2245+
* @rsvd80: reserved
22452246
*/
22462247
struct nvme_primary_ctrl_cap {
22472248
__le16 cntlid;

0 commit comments

Comments
 (0)