[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201109195811.7be5882c@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 9 Nov 2020 19:58:11 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Heiner Kallweit <hkallweit1@...il.com>
Cc: David Miller <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
Russell King <linux@...linux.org.uk>,
Pablo Neira Ayuso <pablo@...filter.org>,
Harald Welte <laforge@...monks.org>,
"Jason A. Donenfeld" <Jason@...c4.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
osmocom-net-gprs@...ts.osmocom.org, wireguard@...ts.zx2c4.com,
Steffen Klassert <steffen.klassert@...unet.com>
Subject: Re: [PATCH net-next v3 00/10] net: add and use dev_get_tstats64
On Sat, 7 Nov 2020 21:48:13 +0100 Heiner Kallweit wrote:
> It's a frequent pattern to use netdev->stats for the less frequently
> accessed counters and per-cpu counters for the frequently accessed
> counters (rx/tx bytes/packets). Add a default ndo_get_stats64()
> implementation for this use case. Subsequently switch more drivers
> to use this pattern.
>
> v2:
> - add patches for replacing ip_tunnel_get_stats64
> Requested additional migrations will come in a separate series.
>
> v3:
> - add atomic_long_t member rx_frame_errors in patch 3 for making
> counter updates atomic
Applied, thank you!
Powered by blists - more mailing lists