Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nfd3/
Ddp.c170 static int nfp_nfd3_prep_tx_meta(struct nfp_net_dp *dp, struct sk_buff *skb, u64 tls_handle) in nfp_nfd3_prep_tx_meta() argument
178 if (unlikely(md_dst || tls_handle)) { in nfp_nfd3_prep_tx_meta()
185 if (!(md_dst || tls_handle || vlan_insert)) in nfp_nfd3_prep_tx_meta()
190 !!tls_handle * NFP_NET_META_CONN_HANDLE_SIZE + in nfp_nfd3_prep_tx_meta()
202 if (tls_handle) { in nfp_nfd3_prep_tx_meta()
207 memcpy(data, &tls_handle, sizeof(tls_handle)); in nfp_nfd3_prep_tx_meta()
248 u64 tls_handle = 0; in nfp_nfd3_tx() local
270 skb = nfp_net_tls_tx(dp, r_vec, skb, &tls_handle, &nr_frags); in nfp_nfd3_tx()
276 md_bytes = nfp_nfd3_prep_tx_meta(dp, skb, tls_handle); in nfp_nfd3_tx()
387 nfp_net_tls_tx_undo(skb, tls_handle); in nfp_nfd3_tx()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_net.h947 struct sk_buff *skb, u64 *tls_handle, int *nr_frags);
948 void nfp_net_tls_tx_undo(struct sk_buff *skb, u64 tls_handle);
Dnfp_net_common.c591 struct sk_buff *skb, u64 *tls_handle, int *nr_frags) in nfp_net_tls_tx() argument
655 memcpy(tls_handle, ntls->fw_handle, sizeof(ntls->fw_handle)); in nfp_net_tls_tx()
661 void nfp_net_tls_tx_undo(struct sk_buff *skb, u64 tls_handle) in nfp_net_tls_tx_undo() argument
667 if (!tls_handle) in nfp_net_tls_tx_undo()