Re: [PATCH] net: dsa: bcm_sf2: fix crossbar port bitwidth logic

From: patchwork-bot+netdevbpf
Date: Fri Oct 04 2024 - 19:31:12 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Thu, 3 Oct 2024 14:23:01 -0700 you wrote:
> The SF2 crossbar register is a packed bitfield, giving the index of the
> external port selected for each of the internal ports. On BCM4908 (the
> only currently-supported switch family with a crossbar), there are 2
> internal ports and 3 external ports, so there are 2 bits per internal
> port.
>
> The driver currently conflates the "bits per port" and "number of ports"
> concepts, lumping both into the `num_crossbar_int_ports` field. Since it
> is currently only possible for either of these counts to have a value of
> 2, there is no behavioral error resulting from this situation for now.
>
> [...]

Here is the summary with links:
- net: dsa: bcm_sf2: fix crossbar port bitwidth logic
https://git.kernel.org/netdev/net-next/c/41378cfdc47f

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