Re: [PATCH net-next 1/2] net: cadence: macb: Convert to get_stats64
From: Andrew Lunn
Date: Fri Feb 14 2025 - 17:59:45 EST
On Fri, Feb 14, 2025 at 04:27:02PM -0500, Sean Anderson wrote:
> Convert the existing get_stats implementation to get_stats64. Since we
> now report 64-bit values, increase the counters to 64-bits as well.
It would be good to add some comments about why this is safe on 32 bit
systems. Are the needed locks in place that you cannot see a partial
update?
Andrew