Re: [PATCH net 4/4] net: systemport: accumulate the DIM packet and byte counters
From: Florian Fainelli
Date: Wed Nov 18 2026 - 15:12:25 EST
On 11/18/26 11:55, Nicolai Buchwitz wrote:
net_dim() computes rates from the difference between two samples and
needs running totals, but bcm_sysport_desc_rx() passes the counts of the
last poll. Adaptive coalescing then picks profiles from wrong rates.
Accumulate the counters instead.
Fixes: b6e0e875421e ("net: systemport: Implement adaptive interrupt coalescing")
Signed-off-by: Nicolai Buchwitz <nb@xxxxxxxxxxx>
Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian