lkml.org 
[lkml]   [2020]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 2/3] net: openvswitch: use core API to update/provide stats
From
Date
Am 13.11.2020 um 10:02 schrieb Lev Stipakov:
> 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 internal_get_stats() and replace it
> with dev_get_tstats64().
>
> Signed-off-by: Lev Stipakov <lev@openvpn.net>
> ---
>
> v2:
> - do not delete len variable and add comment why
> - replace internal_get_stats() vs dev_get_tstats64()
>
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>

\
 
 \ /
  Last update: 2020-11-13 11:49    [W:0.102 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site