|
| From: | Michael Tokarev |
| Subject: | Re: [PATCH 1/1] e1000e: Fix tx/rx counters |
| Date: | Wed, 10 May 2023 21:54:51 +0300 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
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? Thanks, /mjt
| [Prev in Thread] | Current Thread | [Next in Thread] |