Searched refs:ntls (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 272 struct nfp_net_tls_offload_ctx *ntls; in nfp_net_tls_add() local 386 ntls = tls_driver_ctx(sk, direction); in nfp_net_tls_add() 387 memcpy(ntls->fw_handle, reply->handle, sizeof(ntls->fw_handle)); in nfp_net_tls_add() 389 ntls->next_seq = start_offload_tcp_sn; in nfp_net_tls_add() 414 struct nfp_net_tls_offload_ctx *ntls; in nfp_net_tls_del() local 418 ntls = __tls_driver_ctx(tls_ctx, direction); in nfp_net_tls_del() 419 nfp_net_tls_del_fw(nn, ntls->fw_handle); in nfp_net_tls_del() 427 struct nfp_net_tls_offload_ctx *ntls; in nfp_net_tls_resync() local 439 ntls = tls_driver_ctx(sk, direction); in nfp_net_tls_resync() 444 memcpy(req->handle, ntls->fw_handle, sizeof(ntls->fw_handle)); in nfp_net_tls_resync() [all …]
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 594 struct nfp_net_tls_offload_ctx *ntls; in nfp_net_tls_tx() local 606 ntls = tls_driver_ctx(skb->sk, TLS_OFFLOAD_CTX_DIR_TX); in nfp_net_tls_tx() 608 if (unlikely(resync_pending || ntls->next_seq != seq)) { in nfp_net_tls_tx() 638 if (!resync_pending && seq - ntls->next_seq < U32_MAX / 4) in nfp_net_tls_tx() 640 ntls->next_seq); in nfp_net_tls_tx() 655 memcpy(tls_handle, ntls->fw_handle, sizeof(ntls->fw_handle)); in nfp_net_tls_tx() 656 ntls->next_seq += datalen; in nfp_net_tls_tx() 664 struct nfp_net_tls_offload_ctx *ntls; in nfp_net_tls_tx_undo() local 675 ntls = tls_driver_ctx(skb->sk, TLS_OFFLOAD_CTX_DIR_TX); in nfp_net_tls_tx_undo() 676 if (ntls->next_seq == seq + datalen) in nfp_net_tls_tx_undo() [all …]
|