Re: [Patch net-next] net: dsa: ksz9477: move get_stats64 to ksz_common.c

From: Florian Fainelli
Date: Tue Apr 26 2022 - 14:01:19 EST


On 4/26/22 02:10, Arun Ramadoss wrote:
The mib counters for the ksz9477 is same for the ksz9477 switch and
LAN937x switch. Hence moving it to ksz_common.c file in order to have it
generic function. The DSA hook get_stats64 now can call ksz_get_stats64.

Signed-off-by: Arun Ramadoss <arun.ramadoss@xxxxxxxxxxxxx>
Reviewed-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian