From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796533807; b=V2zFYrhPyTkcGJfqTTO3V++yFET2PlYzogcqD8dOz/fgVVqNUMOtsizJXcdW6/tsKLmz nnRYif+5IsEWUznKUvq3tE8eiWD9i067yUp3Oracc5YEV9xD0PHy/8ieVkrFvkK9xpCoQ UHXE5tAx6JWYZICK0fTiQ+G94bbvRYPtO1w00WOpZ/9IchkwohiIuhDQfTsEvu2VQJhZG rohdveVzL6x2gmGUeFAnuXqWw8E9Te/y3BFFM0ocuqy4S4Jl7FPKLDvsx3HXu7vJ3ofjV DCGVSgiUW9dPbotcqJh6qdgEiYywYrUjyeM8FeJxbOeFNFUi9+sH/YkJyMrIlvf5HlA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796533807; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=7NVDY5pwokTh/FF2sGbR3hBMAF9QH662Ph6Dvv2ZMFs=; b=r0Y/rqBHkvYHpNKgMLs8cWFqdqKAfjyxHFUf+2F8IqLB9Gmuh/CAr6TLMC1pUOgW2y6O GvD8qqtP/SqU+jmO0jFVBO9D3XImPVNDExVy6bEXYA1G1CE6PCkDtInf/OMyp0wxhdBBu v+UsXydt1/Ff7AAXPgpwEayXYyrypGURjkO34jiNuLG4kFoNshvsdhxU8XkVmzBGd8hOM Gxyb5vYNJzA8OACP6/WRj9TeB9PCgcdQDsPKSx14EOkqQ3CKlDzgEeGmIMjYBdccKXlfb iDh+p8YpXRW6/JwxTvUHn8KvXdTYBqfbge9SMGQtzKGqywFJcfioYJWkJgFO3ZMDjzQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nl7pPirW; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6129606A338; Sun, 6 Dec 2026 05:10:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=nl7pPirW Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F7281F00A10; Sun, 6 Dec 2026 05:10:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796533807; bh=7NVDY5pwokTh/FF2sGbR3hBMAF9QH662Ph6Dvv2ZMFs=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=nl7pPirWlXEQgfLYBO/q/cI1JlcSd7Be029cA7y27yPzpynK/Igk8BhLgPZWqA2H8 wz8oDpW/HsxLxTkkoykD4lTekV0Gbz5qeemDwy9Ip6DDjkP9SclliV/Wp/QbVlkogs 3E0dcxygL78vj4MRiOBgPj4oqLgtJ7ygflKf1mBPaSTtoiV/oA5dKYDVhyX+sr5/uj 9zcn0rCbtTN0d3KZXANlKsM7v1ehzEhJ+EpDk6k32WrpBKHfiVzMvsfLeP8rtdNQVl h5eqC04cFnIFQsmFQCD969YjCfk83uh05NvM+3DZ7RU8piv1bzg9FVxWLDFBxAiRoT 6Llpn46wAre7g== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 96BF43808236; Sun, 6 Dec 2026 05:10:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next v4] net: mlx5: Allow police as the last action of a TC rule From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179653380615.2489738.1791710858339331670.git-patchwork-notify@kernel.org> Date: Sun, 06 Dec 2026 05:10:06 +0000 References: <20261201212455.2836814-1-mohsin.bashr@gmail.com> In-Reply-To: <20261201212455.2836814-1-mohsin.bashr@gmail.com> To: Mohsin Bashir Cc: netdev@vger.kernel.org, saeedm@nvidia.com, leon@kernel.org, tariqt@nvidia.com, mbloch@nvidia.com, cjubran@nvidia.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (main) by Willem de Bruijn : On Tue, 1 Dec 2026 13:24:55 -0800 you wrote: > From: Mohsin Bashir > > 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