Skip to content

Fix ipsec offlaods with vxlan tunnel

Saeed Mahameed netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net/mlx5: Optimize mlx5e_feature_checks for non IPsec packetdrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.h drivers/net/ethernet/mellanox/mlx5/core/en_main.c+14 -90 replies
2/3net/xfrm: Add inner_ipproto into sec_pathinclude/net/xfrm.h net/xfrm/xfrm_output.c+36 -13 replies
3/3net/mlx5: Fix checksum issue of VXLAN and IPsec crypto offloaddrivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.h+69 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/3] Fix ipsec offlaods with vxlan tunnel

From: Saeed Mahameed <[email protected]>

This small series fixes ipsec TX offloads with vxlan overlay on top of the offloaded ipsec packet, the driver (mlx5) was lacking such information and the skb->encapsulation bit wasn't enough as indication to reach the vxlan inner headers, as a solution we mark the tunnel in the offloaded context of ipsec.

For more information please see commit messages.

Thanks,
Saeed.

---

Huy Nguyen (3):
net/mlx5: Optimize mlx5e_feature_checks for non IPsec packet net/xfrm: Add inner_ipproto into sec_path
net/mlx5: Fix checksum issue of VXLAN and IPsec crypto offload

 .../mellanox/mlx5/core/en_accel/ipsec_rxtx.c  | 65 ++++++++++++++-----
 .../mellanox/mlx5/core/en_accel/ipsec_rxtx.h  | 34 ++++++++--
 .../net/ethernet/mellanox/mlx5/core/en_main.c |  8 ++-
 include/net/xfrm.h                            |  1 +
 net/xfrm/xfrm_output.c                        | 36 +++++++++-
 5 files changed, 118 insertions(+), 26 deletions(-)
Signature · 1 line
2.30.2