summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2019-11-05 06:13:15 +0300
committerDavid S. Miller <davem@davemloft.net>2019-11-06 05:20:55 +0300
commitb33e699fe43aa63f29113311f69357e119ef5276 (patch)
tree763247d6b42ff2e72ee2100d5ec5235daa9967ed /include/uapi
parentd0083d98f685b9f4fe810570f93cef0b0bb6b354 (diff)
downloadlinux-b33e699fe43aa63f29113311f69357e119ef5276.tar.xz
net_sched: add TCA_STATS_PKT64 attribute
Now the kernel uses 64bit packet counters in scheduler layer, we want to export these counters to user space. Instead risking breaking user space by adding fields to struct gnet_stats_basic, add a new TCA_STATS_PKT64. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/gen_stats.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/gen_stats.h b/include/uapi/linux/gen_stats.h
index 4eaacdf452e3..852f234f1fd6 100644
--- a/include/uapi/linux/gen_stats.h
+++ b/include/uapi/linux/gen_stats.h
@@ -13,6 +13,7 @@ enum {
TCA_STATS_RATE_EST64,
TCA_STATS_PAD,
TCA_STATS_BASIC_HW,
+ TCA_STATS_PKT64,
__TCA_STATS_MAX,
};
#define TCA_STATS_MAX (__TCA_STATS_MAX - 1)