lkml.org 
[lkml]   [2020]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] net: xfrm: use core API for updating/providing stats
On Fri, 13 Nov 2020 23:59:40 +0200 Lev Stipakov wrote:
> Commit d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add") has added
> function "dev_sw_netstats_tx_add()" to update net device per-cpu TX
> stats.
>
> Use this function instead of own code.
>
> While on it, remove xfrmi_get_stats64() and replace it with
> dev_get_tstats64().
>
> Signed-off-by: Lev Stipakov <lev@openvpn.net>
> Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>

Since this is a follow up to Heiner's work I'll apply directly as well.

Thanks!

\
 
 \ /
  Last update: 2020-11-15 02:05    [W:0.159 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site