Home
last modified time | relevance | path

Searched refs:resync_async (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/net/tls/
Dtls_device.c699 tls_device_rx_resync_async(struct tls_offload_resync_async *resync_async, in tls_device_rx_resync_async() argument
713 if (WARN_ON_ONCE(resync_async->rcd_delta == USHRT_MAX)) in tls_device_rx_resync_async()
722 resync_async->loglen < TLS_DEVICE_RESYNC_ASYNC_LOGMAX) in tls_device_rx_resync_async()
723 resync_async->log[resync_async->loglen++] = *seq; in tls_device_rx_resync_async()
725 resync_async->rcd_delta++; in tls_device_rx_resync_async()
733 for (i = 0; i < resync_async->loglen; i++) in tls_device_rx_resync_async()
734 if (req_seq == resync_async->log[i] && in tls_device_rx_resync_async()
735 atomic64_try_cmpxchg(&resync_async->req, &resync_req, 0)) { in tls_device_rx_resync_async()
736 *rcd_delta = resync_async->rcd_delta - i; in tls_device_rx_resync_async()
738 resync_async->loglen = 0; in tls_device_rx_resync_async()
[all …]
/kernel/linux/linux-5.10/include/net/
Dtls.h339 struct tls_offload_resync_async *resync_async; member
661 atomic64_set(&rx_ctx->resync_async->req, ((u64)ntohl(seq) << 32) | in tls_offload_rx_resync_async_request_start()
663 rx_ctx->resync_async->loglen = 0; in tls_offload_rx_resync_async_request_start()
664 rx_ctx->resync_async->rcd_delta = 0; in tls_offload_rx_resync_async_request_start()
673 atomic64_set(&rx_ctx->resync_async->req, in tls_offload_rx_resync_async_request_end()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_rx.c625 tls_offload_ctx_rx(tls_ctx)->resync_async = &resync->core; in mlx5e_ktls_add_rx()