Support tunnel mode in mlx5 IPsec packet offload
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Changes in v1 from the cover letter
* Added Simon's ROB tags
* Changed some hard coded values to be defines
* Dropped custom MAC header struct in favor of struct ethhdr
* Fixed missing returned error
* Changed "void *" casting to "struct ethhdr *" casting
v0: https://lore.kernel.org/all/[email protected]
Patches in v1 All 10 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | net/mlx5e: Add IPsec packet offload tunnel bitsinclude/ | +6 | 0 replies | Applied |
| 2/10 | net/mlx5e: Check IPsec packet offload tunnel capabilitiesdrivers/ drivers/ | +7 | 0 replies | Applied |
| 3/10 | net/mlx5e: Configure IPsec SA tables to support tunnel modedrivers/ | +15 | 0 replies | Applied |
| 4/10 | net/mlx5e: Prepare IPsec packet reformat code for tunnel modedrivers/ drivers/ drivers/ | +63 | 3 replies | Applied |
| 5/10 | net/mlx5e: Support IPsec RX packet offload in tunnel modedrivers/ drivers/ drivers/ | +88 | 1 reply | Applied |
| 6/10 | net/mlx5e: Support IPsec TX packet offload in tunnel modedrivers/ drivers/ | +64 | 4 replies | Applied |
| 7/10 | net/mlx5e: Listen to ARP events to update IPsec L2 headers in tunnel modedrivers/ drivers/ | +130 | 1 reply | Applied |
| 8/10 | net/mlx5: Allow blocking encap changes in eswitchdrivers/ drivers/ | +62 | 1 reply | Applied |
| 9/10 | net/mlx5e: Create IPsec table with tunnel support only when encap is disableddrivers/ drivers/ drivers/ | +39 | 1 reply | Applied |
| 10/10 | net/mlx5e: Accept tunnel mode for IPsec packet offloaddrivers/ | +8 | 1 reply | Applied |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Simon Horman | Emeel Hakim | Raed Salem | Sridhar Samudrala |
|---|---|---|---|---|
| Series | R-b | |||
| 1/10 | R-b | |||
| 2/10 | R-b | |||
| 3/10 | R-b | |||
| 4/10 | R-b | |||
| 5/10 | R-b | |||
| 6/10 | R-b | |||
| 7/10 | R-b | |||
| 8/10 | R-b | R-b | ||
| 9/10 | R-b | R-b | ||
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH net-next v1 00/10] Support tunnel mode in mlx5 IPsec packet offload
From: Leon Romanovsky <[email protected]>
Changelog:
v1:
* Added Simon's ROB tags
* Changed some hard coded values to be defines
* Dropped custom MAC header struct in favor of struct ethhdr
* Fixed missing returned error
* Changed "void *" casting to "struct ethhdr *" casting
v0: https://lore.kernel.org/all/[email protected]
---------------------------------------------------------------------
Hi,
This series extends mlx5 to support tunnel mode in its IPsec packet offload implementation.
Thanks
---------------------------------------------------------------------
I would like to ask to apply it directly to netdev tree as PR is not really needed here.
---------------------------------------------------------------------
Leon Romanovsky (10):
net/mlx5e: Add IPsec packet offload tunnel bits net/mlx5e: Check IPsec packet offload tunnel capabilities net/mlx5e: Configure IPsec SA tables to support tunnel mode net/mlx5e: Prepare IPsec packet reformat code for tunnel mode net/mlx5e: Support IPsec RX packet offload in tunnel mode net/mlx5e: Support IPsec TX packet offload in tunnel mode net/mlx5e: Listen to ARP events to update IPsec L2 headers in tunnel
mode
net/mlx5: Allow blocking encap changes in eswitch net/mlx5e: Create IPsec table with tunnel support only when encap is
disabled
net/mlx5e: Accept tunnel mode for IPsec packet offload
.../mellanox/mlx5/core/en_accel/ipsec.c | 202 ++++++++++++++- .../mellanox/mlx5/core/en_accel/ipsec.h | 11 +- .../mellanox/mlx5/core/en_accel/ipsec_fs.c | 239 +++++++++++++++--- .../mlx5/core/en_accel/ipsec_offload.c | 6 + .../net/ethernet/mellanox/mlx5/core/eswitch.h | 14 + .../mellanox/mlx5/core/eswitch_offloads.c | 48 ++++ include/linux/mlx5/mlx5_ifc.h | 8 +- 7 files changed, 481 insertions(+), 47 deletions(-)
Signature · 1 line
2.39.2