Re: [PATCH net-next v4] net: mlx5: Allow police as the last action of a TC rule

From: patchwork-bot+netdevbpf

Date: Sun Dec 06 2026 - 00:10:18 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@xxxxxxxxxx>:

On Tue, 1 Dec 2026 13:24:55 -0800 you wrote:
> From: Mohsin Bashir <hmohsin@xxxxxxxx>
>
> In switchdev mode, mlx5 does not offload a rule where police is the last
> action, although TC needs no other action for such a rule. The upcoming
> selftest series relies on these rules. With nothing after police, the
> police result alone decides where the packet goes, so each result must
> be offloaded as TC executes it. The driver does not do that today. An ok
> result is handled as pipe and runs the actions after police, a pipe
> result always returns to the post action table, and a jump is counted
> from police while TC counts it from the start of the action list. A rate
> police is also rejected by verify_attr_actions(), as its forward to the
> post meter table is added only after the check.
>
> [...]

Here is the summary with links:
- [net-next,v4] net: mlx5: Allow police as the last action of a TC rule
https://git.kernel.org/netdev/net-next/c/07d08c5579bc

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