aboutsummaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorRahul Rameshbabu2024-04-09 16:25:16 -0700
committerJakub Kicinski2024-04-10 19:30:01 -0700
commit65f35aa76c0e21b0243fd734e513fd2263f22a18 (patch)
tree5b9ab953c9934c5441b2df02c239157300ef9ff8 /include/uapi
parent52a85468581e5b4f3b1f3acf52596ff0f27a19b8 (diff)
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>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/ethtool_netlink.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/uapi/linux/ethtool_netlink.h b/include/uapi/linux/ethtool_netlink.h
index 23e225f00fb0..b4f0d233d048 100644
--- a/include/uapi/linux/ethtool_netlink.h
+++ b/include/uapi/linux/ethtool_netlink.h
@@ -488,9 +488,9 @@ enum {
enum {
ETHTOOL_A_TS_STAT_UNSPEC,
- ETHTOOL_A_TS_STAT_TX_PKTS, /* u64 */
- ETHTOOL_A_TS_STAT_TX_LOST, /* u64 */
- ETHTOOL_A_TS_STAT_TX_ERR, /* u64 */
+ ETHTOOL_A_TS_STAT_TX_PKTS, /* uint */
+ ETHTOOL_A_TS_STAT_TX_LOST, /* uint */
+ ETHTOOL_A_TS_STAT_TX_ERR, /* uint */
/* add new constants above here */
__ETHTOOL_A_TS_STAT_CNT,