git: a1df3755a5fa - stable/14 - mlx5en: fix TLS Rx hardware offload initialization
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Jul 2025 03:04:29 UTC
The branch stable/14 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=a1df3755a5fa544d05410bbac0e7b06fcb284df8
commit a1df3755a5fa544d05410bbac0e7b06fcb284df8
Author: Ariel Ehrenberg <aehrenberg@nvidia.com>
AuthorDate: 2025-07-03 08:57:40 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-07-23 03:00:21 +0000
mlx5en: fix TLS Rx hardware offload initialization
(cherry picked from commit d6d66936c45e99ec284554292181d26b6a5558d3)
---
sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c b/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
index f584e5228657..9598884a611c 100644
--- a/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
+++ b/sys/dev/mlx5/mlx5_en/mlx5_en_hw_tls_rx.c
@@ -638,7 +638,8 @@ mlx5e_tls_rx_set_params(void *ctx, struct inpcb *inp, const struct tls_session_p
return (EINVAL);
MLX5_SET64(sw_tls_rx_cntx, ctx, param.initial_record_number, tls_sn_he);
- MLX5_SET(sw_tls_rx_cntx, ctx, param.resync_tcp_sn, tcp_sn_he);
+ MLX5_SET(sw_tls_rx_cntx, ctx, param.resync_tcp_sn, 0);
+ MLX5_SET(sw_tls_rx_cntx, ctx, progress.next_record_tcp_sn, tcp_sn_he);
return (0);
}