mbox series

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

Message ID cover.1670011671.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:10 p.m. UTC
From: Leon Romanovsky <leonro@nvidia.com>

Hi,

This series follows previously sent "Extend XFRM core to allow packet
offload configuration" series [1].

It is first part with refactoring to mlx5 allow us natively extend
mlx5 IPsec logic to support both crypto and packet offloads.

Thanks

[1] https://lore.kernel.org/all/cover.1670005543.git.leonro@nvidia.com

Leon Romanovsky (16):
  net/mlx5: Return ready to use ASO WQE
  net/mlx5: Add HW definitions for IPsec packet offload
  net/mlx5e: Advertise IPsec packet offload support
  net/mlx5e: Store replay window in XFRM attributes
  net/mlx5e: Remove extra layers of defines
  net/mlx5e: Create symmetric IPsec RX and TX flow steering structs
  net/mlx5e: Use mlx5 print routines for low level IPsec code
  net/mlx5e: Remove accesses to priv for low level IPsec FS code
  net/mlx5e: Create Advanced Steering Operation object for IPsec
  net/mlx5e: Create hardware IPsec packet offload objects
  net/mlx5e: Move IPsec flow table creation to separate function
  net/mlx5e: Refactor FTE setup code to be more clear
  net/mlx5e: Flatten the IPsec RX add rule path
  net/mlx5e: Make clear what IPsec rx_err does
  net/mlx5e: Group IPsec miss handles into separate struct
  net/mlx5e: Generalize creation of default IPsec miss group and rule

 drivers/net/ethernet/mellanox/mlx5/core/en.h  |   1 +
 .../ethernet/mellanox/mlx5/core/en/tc/meter.c |   1 -
 .../mellanox/mlx5/core/en_accel/ipsec.c       |  50 +-
 .../mellanox/mlx5/core/en_accel/ipsec.h       |  48 +-
 .../mellanox/mlx5/core/en_accel/ipsec_fs.c    | 629 +++++++++---------
 .../mlx5/core/en_accel/ipsec_offload.c        | 107 ++-
 .../net/ethernet/mellanox/mlx5/core/lib/aso.c |   7 +-
 .../net/ethernet/mellanox/mlx5/core/lib/aso.h |   3 +-
 include/linux/mlx5/mlx5_ifc.h                 |  53 +-
 9 files changed, 543 insertions(+), 356 deletions(-)

Comments

Steffen Klassert Dec. 8, 2022, 9:35 a.m. UTC | #1
On Fri, Dec 02, 2022 at 10:10:21PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> Hi,
> 
> This series follows previously sent "Extend XFRM core to allow packet
> offload configuration" series [1].
> 
> It is first part with refactoring to mlx5 allow us natively extend
> mlx5 IPsec logic to support both crypto and packet offloads.
> 
> Thanks
> 
> [1] https://lore.kernel.org/all/cover.1670005543.git.leonro@nvidia.com
> 
> Leon Romanovsky (16):
>   net/mlx5: Return ready to use ASO WQE
>   net/mlx5: Add HW definitions for IPsec packet offload
>   net/mlx5e: Advertise IPsec packet offload support
>   net/mlx5e: Store replay window in XFRM attributes
>   net/mlx5e: Remove extra layers of defines
>   net/mlx5e: Create symmetric IPsec RX and TX flow steering structs
>   net/mlx5e: Use mlx5 print routines for low level IPsec code
>   net/mlx5e: Remove accesses to priv for low level IPsec FS code
>   net/mlx5e: Create Advanced Steering Operation object for IPsec
>   net/mlx5e: Create hardware IPsec packet offload objects
>   net/mlx5e: Move IPsec flow table creation to separate function
>   net/mlx5e: Refactor FTE setup code to be more clear
>   net/mlx5e: Flatten the IPsec RX add rule path
>   net/mlx5e: Make clear what IPsec rx_err does
>   net/mlx5e: Group IPsec miss handles into separate struct
>   net/mlx5e: Generalize creation of default IPsec miss group and rule

Series applied, thanks Leon!