RE: [PATCH net-next 1/2] net: enetc: parameterize port MAC stats to also cover the pMAC

From: Claudiu Manoil
Date: Fri Sep 09 2022 - 10:36:41 EST


> -----Original Message-----
> From: Vladimir Oltean <vladimir.oltean@xxxxxxx>
> Sent: Friday, September 9, 2022 2:38 PM
[...]
> Subject: [PATCH net-next 1/2] net: enetc: parameterize port MAC stats to also
> cover the pMAC
>
> The ENETC has counters for the eMAC and for the pMAC exactly 0x1000
> apart from each other. The driver only contains definitions for PM0,
> the eMAC.
>
> Rather than duplicating everything for PM1, modify the register
> definitions such that they take the MAC as argument.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>

Reviewed-by: Claudiu Manoil <claudiu.manoil@xxxxxxx>