Message ID | 20241023135251.1752488-1-vladimir.oltean@nxp.com (mailing list archive) |
---|---|
Headers | show |
Series | Mirroring to DSA CPU port | expand |
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Wed, 23 Oct 2024 16:52:45 +0300 you wrote: > Users of the NXP LS1028A SoC (drivers/net/dsa/ocelot L2 switch inside) > have requested to mirror packets from the ingress of a switch port to > software. Both port-based and flow-based mirroring is required. > > The simplest way I could come up with was to set up tc mirred actions > towards a dummy net_device, and make the offloading of that be accepted > by the driver. Currently, the pattern in drivers is to reject mirred > towards ports they don't know about, but I'm now permitting that, > precisely by mirroring "to the CPU". > > [...] Here is the summary with links: - [v3,net-next,1/6] net: sched: propagate "skip_sw" flag to struct flow_cls_common_offload https://git.kernel.org/netdev/net-next/c/2748697225c3 - [v3,net-next,2/6] net: dsa: clean up dsa_user_add_cls_matchall() https://git.kernel.org/netdev/net-next/c/a0af7162ccb5 - [v3,net-next,3/6] net: dsa: use "extack" as argument to flow_action_basic_hw_stats_check() https://git.kernel.org/netdev/net-next/c/c11ace14d9db - [v3,net-next,4/6] net: dsa: add more extack messages in dsa_user_add_cls_matchall_mirred() https://git.kernel.org/netdev/net-next/c/4cc4394a897e - [v3,net-next,5/6] net: dsa: allow matchall mirroring rules towards the CPU https://git.kernel.org/netdev/net-next/c/3535d70df9c8 - [v3,net-next,6/6] net: mscc: ocelot: allow tc-flower mirred action towards foreign interfaces https://git.kernel.org/netdev/net-next/c/49a09073cb23 You are awesome, thank you!