Lines Matching refs:ntls
596 struct nfp_net_tls_offload_ctx *ntls; in nfp_net_tls_tx() local
608 ntls = tls_driver_ctx(skb->sk, TLS_OFFLOAD_CTX_DIR_TX); in nfp_net_tls_tx()
610 if (unlikely(resync_pending || ntls->next_seq != seq)) { in nfp_net_tls_tx()
640 if (!resync_pending && seq - ntls->next_seq < U32_MAX / 4) in nfp_net_tls_tx()
642 ntls->next_seq); in nfp_net_tls_tx()
657 memcpy(tls_handle, ntls->fw_handle, sizeof(ntls->fw_handle)); in nfp_net_tls_tx()
658 ntls->next_seq += datalen; in nfp_net_tls_tx()
666 struct nfp_net_tls_offload_ctx *ntls; in nfp_net_tls_tx_undo() local
677 ntls = tls_driver_ctx(skb->sk, TLS_OFFLOAD_CTX_DIR_TX); in nfp_net_tls_tx_undo()
678 if (ntls->next_seq == seq + datalen) in nfp_net_tls_tx_undo()
679 ntls->next_seq = seq; in nfp_net_tls_tx_undo()