Re: [PATCH v2 net] net: dsa: microchip: correct KSZ8795 static MAC table access

From: patchwork-bot+netdevbpf
Date: Mon Jul 17 2023 - 02:50:29 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 13 Jul 2023 17:46:22 -0700 you wrote:
> From: Tristram Ha <Tristram.Ha@xxxxxxxxxxxxx>
>
> The KSZ8795 driver code was modified to use on KSZ8863/73, which has
> different register definitions. Some of the new KSZ8795 register
> information are wrong compared to previous code.
>
> KSZ8795 also behaves differently in that the STATIC_MAC_TABLE_USE_FID
> and STATIC_MAC_TABLE_FID bits are off by 1 when doing MAC table reading
> than writing. To compensate that a special code was added to shift the
> register value by 1 before applying those bits. This is wrong when the
> code is running on KSZ8863, so this special code is only executed when
> KSZ8795 is detected.
>
> [...]

Here is the summary with links:
- [v2,net] net: dsa: microchip: correct KSZ8795 static MAC table access
https://git.kernel.org/netdev/net/c/4bdf79d686b4

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html