Re: [PATCH net] net: dsa: refuse cross-chip mirroring operations
From: patchwork-bot+netdevbpf
Date: Wed Oct 09 2024 - 22:50:51 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 8 Oct 2024 12:43:20 +0300 you wrote:
> In case of a tc mirred action from one switch to another, the behavior
> is not correct. We simply tell the source switch driver to program a
> mirroring entry towards mirror->to_local_port = to_dp->index, but it is
> not even guaranteed that the to_dp belongs to the same switch as dp.
>
> For proper cross-chip support, we would need to go through the
> cross-chip notifier layer in switch.c, program the entry on cascade
> ports, and introduce new, explicit API for cross-chip mirroring, given
> that intermediary switches should have introspection into the DSA tags
> passed through the cascade port (and not just program a port mirror on
> the entire cascade port). None of that exists today.
>
> [...]
Here is the summary with links:
- [net] net: dsa: refuse cross-chip mirroring operations
https://git.kernel.org/netdev/net/c/8c924369cb56
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html