Home
last modified time | relevance | path

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

/Linux-v6.1/net/tls/
Dtls_device.c737 tls_device_rx_resync_async(struct tls_offload_resync_async *resync_async, in tls_device_rx_resync_async() argument
751 if (WARN_ON_ONCE(resync_async->rcd_delta == USHRT_MAX)) in tls_device_rx_resync_async()
760 resync_async->loglen < TLS_DEVICE_RESYNC_ASYNC_LOGMAX) in tls_device_rx_resync_async()
761 resync_async->log[resync_async->loglen++] = *seq; in tls_device_rx_resync_async()
763 resync_async->rcd_delta++; in tls_device_rx_resync_async()
771 for (i = 0; i < resync_async->loglen; i++) in tls_device_rx_resync_async()
772 if (req_seq == resync_async->log[i] && in tls_device_rx_resync_async()
773 atomic64_try_cmpxchg(&resync_async->req, &resync_req, 0)) { in tls_device_rx_resync_async()
774 *rcd_delta = resync_async->rcd_delta - i; in tls_device_rx_resync_async()
776 resync_async->loglen = 0; in tls_device_rx_resync_async()
[all …]
/Linux-v6.1/include/net/
Dtls.h336 struct tls_offload_resync_async *resync_async; member
466 atomic64_set(&rx_ctx->resync_async->req, ((u64)ntohl(seq) << 32) | in tls_offload_rx_resync_async_request_start()
468 rx_ctx->resync_async->loglen = 0; in tls_offload_rx_resync_async_request_start()
469 rx_ctx->resync_async->rcd_delta = 0; in tls_offload_rx_resync_async_request_start()
478 atomic64_set(&rx_ctx->resync_async->req, in tls_offload_rx_resync_async_request_end()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_rx.c662 tls_offload_ctx_rx(tls_ctx)->resync_async = &resync->core; in mlx5e_ktls_add_rx()