RE: [PATCH net-next 2/3] net: enetc: separate 64-bit counters from enetc_port_counters
From: Claudiu Manoil
Date: Fri Jun 20 2025 - 08:51:36 EST
> -----Original Message-----
> From: Wei Fang <wei.fang@xxxxxxx>
> Sent: Friday, June 20, 2025 1:22 PM
[...]
> Subject: [PATCH net-next 2/3] net: enetc: separate 64-bit counters from
> enetc_port_counters
>
> Some counters in enetc_port_counters are 32-bit registers, and some are 64-
> bit registers. But in the current driver, they are all read through
> enetc_port_rd(), which can only read a 32-bit value. Therefore, separate 64-
> bit counters (enetc_pm_counters) from enetc_port_counters and use
> enetc_port_rd64() to read the 64-bit statistics.
>
> Signed-off-by: Wei Fang <wei.fang@xxxxxxx>
> ---
Reviewed-by: Claudiu Manoil <claudiu.manoil@xxxxxxx>