Messages in this thread | | | Date | Sat, 19 Feb 2022 11:46:55 +0200 | From | Vladimir Oltean <> | Subject | Re: [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>
| |