mbox series

[xfrm-next,00/13] mlx5 IPsec packet offload support (Part I)

Message ID cover.1670011885.git.leonro@nvidia.com (mailing list archive)
Headers show
Series mlx5 IPsec packet offload support (Part I) | expand

Message

Leon Romanovsky Dec. 2, 2022, 8:14 p.m. UTC
From: Leon Romanovsky <leonro@nvidia.com>

Hi,

This is second part with implementation of packet offload.

Thanks

Leon Romanovsky (12):
  net/mlx5e: Create IPsec policy offload tables
  net/mlx5e: Add XFRM policy offload logic
  net/mlx5e: Use same coding pattern for Rx and Tx flows
  net/mlx5e: Configure IPsec packet offload flow steering
  net/mlx5e: Improve IPsec flow steering autogroup
  net/mlx5e: Skip IPsec encryption for TX path without matching policy
  net/mlx5e: Provide intermediate pointer to access IPsec struct
  net/mlx5e: Store all XFRM SAs in Xarray
  net/mlx5e: Update IPsec soft and hard limits
  net/mlx5e: Handle hardware IPsec limits events
  net/mlx5e: Handle ESN update events
  net/mlx5e: Open mlx5 driver to accept IPsec packet offload

Raed Salem (1):
  net/mlx5e: Add statistics for Rx/Tx IPsec offloaded flows

 .../net/ethernet/mellanox/mlx5/core/en/fs.h   |   3 +-
 .../mellanox/mlx5/core/en_accel/ipsec.c       | 312 +++++++++---
 .../mellanox/mlx5/core/en_accel/ipsec.h       |  84 ++-
 .../mellanox/mlx5/core/en_accel/ipsec_fs.c    | 482 +++++++++++++++++-
 .../mlx5/core/en_accel/ipsec_offload.c        | 196 +++++++
 .../mellanox/mlx5/core/en_accel/ipsec_rxtx.c  |  22 +-
 .../mellanox/mlx5/core/en_accel/ipsec_stats.c |  52 ++
 .../ethernet/mellanox/mlx5/core/en_stats.c    |   1 +
 .../ethernet/mellanox/mlx5/core/en_stats.h    |   1 +
 drivers/net/ethernet/mellanox/mlx5/core/eq.c  |   5 +
 .../net/ethernet/mellanox/mlx5/core/fs_core.c |   6 +-
 .../net/ethernet/mellanox/mlx5/core/lib/aso.h |   1 +
 12 files changed, 1047 insertions(+), 118 deletions(-)

Comments

Leon Romanovsky Dec. 2, 2022, 8:19 p.m. UTC | #1
On Fri, Dec 02, 2022 at 10:14:44PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> Hi,
> 
> This is second part with implementation of packet offload.


The title is misleading, it should be written "Part II".
Sorry for that.

Thanks
Steffen Klassert Dec. 9, 2022, 7:18 a.m. UTC | #2
On Fri, Dec 02, 2022 at 10:14:44PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> Hi,
> 
> This is second part with implementation of packet offload.
> 
> Thanks
> 
> Leon Romanovsky (12):
>   net/mlx5e: Create IPsec policy offload tables
>   net/mlx5e: Add XFRM policy offload logic
>   net/mlx5e: Use same coding pattern for Rx and Tx flows
>   net/mlx5e: Configure IPsec packet offload flow steering
>   net/mlx5e: Improve IPsec flow steering autogroup
>   net/mlx5e: Skip IPsec encryption for TX path without matching policy
>   net/mlx5e: Provide intermediate pointer to access IPsec struct
>   net/mlx5e: Store all XFRM SAs in Xarray
>   net/mlx5e: Update IPsec soft and hard limits
>   net/mlx5e: Handle hardware IPsec limits events
>   net/mlx5e: Handle ESN update events
>   net/mlx5e: Open mlx5 driver to accept IPsec packet offload
> 
> Raed Salem (1):
>   net/mlx5e: Add statistics for Rx/Tx IPsec offloaded flows

Series applied, thanks a lot!