Lines Matching refs:resync
57 /* resync */
58 spinlock_t lock; /* protects resync fields */
59 struct mlx5e_ktls_rx_resync_ctx resync;
65 if (!refcount_dec_and_test(&priv_rx->resync.refcnt))
74 refcount_inc(&priv_rx->resync.refcnt);
152 priv_rx->resync.seq, false,
333 struct mlx5e_ktls_rx_resync_ctx *resync;
337 resync = container_of(work, struct mlx5e_ktls_rx_resync_ctx, work);
338 priv_rx = container_of(resync, struct mlx5e_ktls_offload_context_rx, resync);
345 c = resync->priv->channels.c[priv_rx->rxq];
352 static void resync_init(struct mlx5e_ktls_rx_resync_ctx *resync,
355 INIT_WORK(&resync->work, resync_handle_work);
356 resync->priv = priv;
357 refcount_set(&resync->refcnt, 1);
381 memcpy(info->rec_seq, &priv_rx->resync.sw_rcd_sn_be,
389 memcpy(info->rec_seq, &priv_rx->resync.sw_rcd_sn_be,
464 struct mlx5e_ktls_rx_resync_ctx *resync;
473 resync = &priv_rx->resync;
475 if (unlikely(!queue_work(resync->priv->tls->rx_wq, &resync->work)))
542 struct mlx5e_ktls_rx_resync_ctx *resync;
550 resync = &priv_rx->resync;
551 resync->sw_rcd_sn_be = *(__be64 *)rcd_sn;
552 resync->seq = seq;
560 /* End of resync section */
610 struct mlx5e_ktls_rx_resync_ctx *resync;
663 resync = &priv_rx->resync;
664 resync_init(resync, priv);
665 tls_offload_ctx_rx(tls_ctx)->resync_async = &resync->core;
688 struct mlx5e_ktls_rx_resync_ctx *resync;
702 resync = &priv_rx->resync;
703 if (cancel_work_sync(&resync->work))