[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/1] e1000e: Fix tx/rx counters
|
From: |
Jason Wang |
|
Subject: |
Re: [PATCH 1/1] e1000e: Fix tx/rx counters |
|
Date: |
Thu, 11 May 2023 08:30:18 +0800 |
On Thu, May 11, 2023 at 2:54 AM Michael Tokarev <mjt@tls.msk.ru> wrote:
>
> 10.04.2023 18:27, timothee.cocault@gmail.com wrote:
> > The bytes and packets counter registers are cleared on read.
> >
> > Copying the "total counter" registers to the "good counter" registers has
> > side effects.
> > If the "total" register is never read by the OS, it only gets incremented.
> > This leads to exponential growth of the "good" register.
> >
> > This commit increments the counters individually to avoid this.
>
> Smells like a -stable material, is it not?
Yes, tagged for stable.
Thanks
>
> Thanks,
>
> /mjt
>