lkml.org 
[lkml]   [2022]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next v4 1/1] net: dsa: microchip: ksz9477: export HW stats over stats64 interface
On Sat, Feb 19, 2022 at 09:26:30AM +0100, Oleksij Rempel wrote:
> Provide access to HW offloaded packets over stats64 interface.
> The rx/tx_bytes values needed some fixing since HW is accounting size of
> the Ethernet frame together with FCS.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
> changes v4:
> - do not copy raw counters to the stack
> changes v3:
> - move dev->dev_ops->r_mib_stat64 insight of the mutex
> changes v2:
> - fix locking issue in in atomic context
> ---

Reviewed-by: Vladimir Oltean <olteanv@gmail.com>

\
 
 \ /
  Last update: 2022-02-19 10:48    [W:0.040 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site