[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191105031315.90137-1-edumazet@google.com>
Date: Mon, 4 Nov 2019 19:13:12 -0800
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>
Subject: [PATCH net-next 0/3] net_sched: convert packet counters to 64bit
This small patch series add 64bit support for packet counts.
Fact that the counters were still 32bit has been quite painful.
tc -s -d qd sh dev eth0 | head -3
qdisc mq 1: root
Sent 665706335338 bytes 6526520373 pkt (dropped 2441, overlimits 0 requeues 91)
backlog 0b 0p requeues 91
Eric Dumazet (3):
net_sched: do not export gnet_stats_basic_packed to uapi
net_sched: extend packet counter to 64bit
net_sched: add TCA_STATS_PKT64 attribute
include/net/gen_stats.h | 6 ++++++
include/uapi/linux/gen_stats.h | 5 +----
net/core/gen_stats.c | 12 ++++++++----
net/sched/act_api.c | 2 ++
net/sched/act_simple.c | 2 +-
5 files changed, 18 insertions(+), 9 deletions(-)
--
2.24.0.rc1.363.gb1bccd3e3d-goog
Powered by blists - more mailing lists