lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ