Searched refs:ntls (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/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.12.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 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() [all …]
|