Subject: Re: [net-next 10/15] net/tls: Perform immediate device ctx cleanup when possible

From: Jakub Kicinski <[email-masked]>
Date: Wed, 6 Jul 2022 19:21:07 -0700

On Wed,  6 Jul 2022 16:24:16 -0700 Saeed Mahameed wrote:
> From: Tariq Toukan <[email-masked]>
> 
> TLS context destructor can be run in atomic context. Cleanup operations
> for device-offloaded contexts could require access and interaction with
> the device callbacks, which might sleep. Hence, the cleanup of such
> contexts must be deferred and completed inside an async work.
> 
> For all others, this is not necessary, as cleanup is atomic. Invoke
> cleanup immediately for them, avoiding queueuing redundant gc work.
> 
> Signed-off-by: Tariq Toukan <[email-masked]>
> Reviewed-by: Maxim Mikityanskiy <[email-masked]>
> Signed-off-by: Saeed Mahameed <[email-masked]>

Not sure if posting core patches as part of driver PRs is a good idea,
if I ack this now the tag will not propagate.