]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'tls-introduce-and-use-rx-async-resync-request-cancel-function'
authorJakub Kicinski <kuba@kernel.org>
Thu, 30 Oct 2025 01:32:23 +0000 (18:32 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Oct 2025 01:32:24 +0000 (18:32 -0700)
commit0dd1be4fe06a1f3a14a517446b49afaa6ac5fa94
tree32f105d8c471e8cbf409d141bed45fd81b1ec5ad
parente98cda764aa9c27f6810d08bd7bf2e8071535990
parent426e9da3b28404b1edcbae401231fb378150d99d
Merge branch 'tls-introduce-and-use-rx-async-resync-request-cancel-function'

Tariq Toukan says:

====================
tls: Introduce and use RX async resync request cancel function

This series by Shahar introduces RX async resync request cancel function
in tls module, and uses it in mlx5e driver.

For a device-offloaded TLS RX connection, the TLS module increments
rcd_delta each time a new TLS record is received, tracking the distance
from the original resync request. In the meanwhile, the device is
queried and is expected to respond, asynchronously.

However, if the device response is delayed or fails (e.g due to unstable
connection and device getting out of tracking, hardware errors, resource
exhaustion etc.), the TLS module keeps logging and incrementing
rcd_delta, which can lead to a WARN() when rcd_delta exceeds the
threshold.

This series improves this code area by canceling the resync request when
spotting an issue with the device response.
====================

Link: https://patch.msgid.link/1761508983-937977-1-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>