Re: [PATCH net-next v5 5/6] net: dsa: microchip: fix KSZ87xx family structure wrt the datasheet
From: Arun.Ramadoss
Date: Mon Aug 12 2024 - 23:17:05 EST
On Mon, 2024-08-12 at 17:29 +0200, vtpieter@xxxxxxxxx wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you
> know the content is safe
>
> From: Pieter Van Trappen <pieter.van.trappen@xxxxxxx>
>
> The KSZ87xx switches have 32 static MAC address table entries and not
> 8. This fixes -ENOSPC non-critical errors from ksz8_add_sta_mac when
> configured as a bridge.
>
> Add a new ksz87xx_dev_ops structure to be able to use the
> ksz_r_mib_stat64 pointer for this family; this corrects a wrong
> mib->counters cast to ksz88xx_stats_raw. This fixes iproute2
> statistics. Rename ksz8_dev_ops structure to ksz88x3_dev_ops, in line
> with ksz_is_* naming conventions from ksz_common.h.
>
> Signed-off-by: Pieter Van Trappen <pieter.van.trappen@xxxxxxx>
Acked-by: Arun Ramadoss <arun.ramadoss@xxxxxxxxxxxxx>