ethtool: update tsinfo statistics attribute docs with correct type
authorRahul Rameshbabu <rrameshbabu@nvidia.com>
Tue, 9 Apr 2024 23:25:16 +0000 (16:25 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 11 Apr 2024 02:30:01 +0000 (19:30 -0700)
commit65f35aa76c0e21b0243fd734e513fd2263f22a18
tree5b9ab953c9934c5441b2df02c239157300ef9ff8
parent52a85468581e5b4f3b1f3acf52596ff0f27a19b8
ethtool: update tsinfo statistics attribute docs with correct type

nla_put_uint can either write a u32 or u64 netlink attribute value. The
size depends on whether the value can be represented with a u32 or requires
a u64. Use a uint annotation in various documentation to represent this.

Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Link: https://lore.kernel.org/r/20240409232520.237613-2-rrameshbabu@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/ethtool-netlink.rst
include/uapi/linux/ethtool_netlink.h