Thread (2 messages) 2 messages, 2 authors, 2021-09-19

Re: [PATCH v2 net] net: dsa: tear down devlink port regions when tearing down the devlink port on error

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-09-19 12:10:19

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Fri, 17 Sep 2021 17:29:16 +0300 you wrote:
Commit 86f8b1c01a0a ("net: dsa: Do not make user port errors fatal")
decided it was fine to ignore errors on certain ports that fail to
probe, and go on with the ports that do probe fine.

Commit fb6ec87f7229 ("net: dsa: Fix type was not set for devlink port")
noticed that devlink_port_type_eth_set(dlp, dp->slave); does not get
called, and devlink notices after a timeout of 3600 seconds and prints a
WARN_ON. So it went ahead to unregister the devlink port. And because
there exists an UNUSED port flavour, we actually re-register the devlink
port as UNUSED.

[...]
Here is the summary with links:
  - [v2,net] net: dsa: tear down devlink port regions when tearing down the devlink port on error
    https://git.kernel.org/netdev/net/c/fd292c189a97

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help