nvmf: clarify on opts description
New added fields should be put at the end of the struct. Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: Ibfa9d1967685ff4af6cef78806f403ba15e1ec01 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5642 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
2d36698d1d
commit
add8fc1575
@ -93,7 +93,7 @@ struct spdk_nvmf_transport_opts {
|
|||||||
* The size of spdk_nvmf_transport_opts according to the caller of this library is used for ABI
|
* The size of spdk_nvmf_transport_opts according to the caller of this library is used for ABI
|
||||||
* compatibility. The library uses this field to know how many fields in this
|
* compatibility. The library uses this field to know how many fields in this
|
||||||
* structure are valid. And the library will populate any remaining fields with default values.
|
* structure are valid. And the library will populate any remaining fields with default values.
|
||||||
* After that, new added fields should be put after opts_size.
|
* New added fields should be put at the end of the struct.
|
||||||
*/
|
*/
|
||||||
size_t opts_size;
|
size_t opts_size;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user