Skip to content

Support 256 bit TLS keys with device offload

Gal Pressman netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesApplied 4/4
  2. v14 patches 7 repliesSuperseded

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net/tls: Describe ciphers sizes by const structsinclude/net/tls.h net/tls/tls_main.c+27 -00 repliesApplied
2/4net/tls: Use cipher sizes structsnet/tls/tls_device.c net/tls/tls_device_fallback.c+76 -510 repliesApplied
3/4net/tls: Support 256 bit keys with TX device offloadnet/tls/tls_device.c net/tls/tls_device_fallback.c+13 -00 repliesApplied
4/4net/mlx5e: Support 256 bit keys with kTLS device offloaddrivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_rx.c drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c +2 more+111 -170 repliesApplied

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchTariq Toukan
1/4
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/4] Support 256 bit TLS keys with device offload

Hey,
This series adds support for 256 bit TLS keys with device offload, and a cleanup patch to remove repeating code:
- Patches #1-2 add cipher sizes descriptors which allow reducing the amount of code duplications.
- Patch #3 allows 256 bit keys to be TX offloaded in the tls module (RX already supported).
- Patch #4 adds 256 bit keys support to the mlx5 driver.

Changelog -
v1->v2: https://lore.kernel.org/all/[email protected]/
* Add a missing '=' in initializer
* Add missing unlocks in resync_handle_seq_match()

Thanks,
Gal

Gal Pressman (3):
net/tls: Use cipher sizes structs
net/tls: Support 256 bit keys with TX device offload net/mlx5e: Support 256 bit keys with kTLS device offload

Tariq Toukan (1):
net/tls: Describe ciphers sizes by const structs

 .../mellanox/mlx5/core/en_accel/ktls.h        |  7 +-
 .../mellanox/mlx5/core/en_accel/ktls_rx.c     | 45 +++++++++--
 .../mellanox/mlx5/core/en_accel/ktls_tx.c     | 41 ++++++++--
 .../mellanox/mlx5/core/en_accel/ktls_txrx.c   | 27 ++++++-
 .../mellanox/mlx5/core/en_accel/ktls_utils.h  |  8 +-
 include/net/tls.h                             | 10 +++
 net/tls/tls_device.c                          | 61 ++++++++------
 net/tls/tls_device_fallback.c                 | 79 +++++++++++++------
 net/tls/tls_main.c                            | 17 ++++
 9 files changed, 227 insertions(+), 68 deletions(-)
Signature · 1 line
2.25.1