diff options
| author | Gal Pressman <gal@nvidia.com> | 2026-01-15 09:05:44 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-16 06:06:46 +0300 |
| commit | 567873005dca1be0a3b3e2e309a8f0de14d2b827 (patch) | |
| tree | b46724a9440b4e89fb06272e7f29dbb56ad2d887 /include/linux | |
| parent | c27022497dd9b8a8922dbb878c255e4260a90e6c (diff) | |
| download | linux-567873005dca1be0a3b3e2e309a8f0de14d2b827.tar.xz | |
ethtool: Clarify len/n_stats fields in/out semantics
Document that the 'len' field in ethtool_gstrings and 'n_stats' field in
ethtool_stats optionally serve dual purposes: on entry they specify the
number of items requested, and on return they indicate the number
actually returned (which is not necessarily the same).
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Link: https://patch.msgid.link/20260115060544.481550-1-gal@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
