Messages in this thread | | | Subject | Re: [PATCH net] lan966x: Fix unloading/loading of the driver | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 23 May 2023 13:40:19 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (main) by Paolo Abeni <pabeni@redhat.com>:
On Mon, 22 May 2023 14:00:38 +0200 you wrote: > It was noticing that after a while when unloading/loading the driver and > sending traffic through the switch, it would stop working. It would stop > forwarding any traffic and the only way to get out of this was to do a > power cycle of the board. The root cause seems to be that the switch > core is initialized twice. Apparently initializing twice the switch core > disturbs the pointers in the queue systems in the HW, so after a while > it would stop sending the traffic. > Unfortunetly, it is not possible to use a reset of the switch here, > because the reset line is connected to multiple devices like MDIO, > SGPIO, FAN, etc. So then all the devices will get reseted when the > network driver will be loaded. > So the fix is to check if the core is initialized already and if that is > the case don't initialize it again. > > [...]
Here is the summary with links: - [net] lan966x: Fix unloading/loading of the driver https://git.kernel.org/netdev/net/c/600761245952
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |