Re: [PATCH net] net/mlx5e: IPsec, don't match upper proto selectors in crypto offload TX

From
patchwork-bot+netdevbpf@kernel.org
Date
2026-11-12 19:00:09
Also in
linux-rdma, lkml
Reply to
Tariq Toukan, 2026-11-11
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Wed, 11 Nov 2026 10:13:37 +0200 you wrote:
From: Cosmin Ratiu <redacted>

The mentioned commit introduced support for upper protocol selectors
(protocol & ports) to mlx5 IPsec offload. In crypto offload mode this
causes offloaded TX SAs to stop matching traffic.

In tx_add_rule(), setup_fte_upper_proto_match() is called for all
offload types and programs a match on the upper protocol (TCP/UDP) and
ports. For crypto offload, setup_fte_esp() is then called and sets
ip_protocol to ESP. The resulting rule requires both ESP as the IP
protocol and TCP/UDP ports, which no packet can satisfy, so TX crypto
offload silently stops working for such SAs.

[...]
Here is the summary with links:
  - [net] net/mlx5e: IPsec, don't match upper proto selectors in crypto offload TX
    https://git.kernel.org/netdev/net/c/5ed47bd79ceb

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

Thread (3 messages) 3 messages, 3 authors, last reply 5d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help