Home
last modified time | relevance | path

Searched refs:tailen (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c188 inlseg->byte_count = cpu_to_be32(ipsec_st->tailen | MLX5_INLINE_SEG); in mlx5e_ipsec_handle_tx_wqe()
200 unsigned int tailen; in mlx5e_ipsec_set_state() local
209 tailen = plen + alen; in mlx5e_ipsec_set_state()
211 ipsec_st->tailen = tailen; in mlx5e_ipsec_set_state()
Dipsec_rxtx.h50 u32 tailen; member
72 return ipsec_st->tailen; in mlx5e_ipsec_tx_ids_len()
Den_accel.h198 state->ipsec.xo && state->ipsec.tailen) in mlx5e_accel_tx_finish()
/linux-6.1.9/net/ipv6/
Desp6.c389 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_udp_encap()
420 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp6_output_tcp_encap()
485 int tailen = esp->tailen; in esp6_output_head() local
494 if (ALIGN(tailen, L1_CACHE_BYTES) > PAGE_SIZE || in esp6_output_head()
499 if (tailen <= skb_tailroom(skb)) { in esp6_output_head()
513 allocsize = ALIGN(tailen, L1_CACHE_BYTES); in esp6_output_head()
532 tailen); in esp6_output_head()
541 skb->len += tailen; in esp6_output_head()
542 skb->data_len += tailen; in esp6_output_head()
543 skb->truesize += tailen; in esp6_output_head()
[all …]
Desp6_offload.c325 esp.tailen = esp.tfclen + esp.plen + alen; in esp6_xmit()
/linux-6.1.9/net/ipv4/
Desp4.c353 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_udp_encap()
384 len = skb->len + esp->tailen - skb_transport_offset(skb); in esp_output_tcp_encap()
449 int tailen = esp->tailen; in esp_output_head() local
459 if (ALIGN(tailen, L1_CACHE_BYTES) > PAGE_SIZE || in esp_output_head()
464 if (tailen <= skb_tailroom(skb)) { in esp_output_head()
478 allocsize = ALIGN(tailen, L1_CACHE_BYTES); in esp_output_head()
497 tailen); in esp_output_head()
506 skb_len_add(skb, tailen); in esp_output_head()
508 refcount_add(tailen, &sk->sk_wmem_alloc); in esp_output_head()
517 nfrags = skb_cow_data(skb, tailen, &trailer); in esp_output_head()
[all …]
Desp4_offload.c290 esp.tailen = esp.tfclen + esp.plen + alen; in esp_xmit()
/linux-6.1.9/include/net/
Desp.h35 int tailen; member
/linux-6.1.9/net/tipc/
Dcrypto.c743 int ehsz, len, tailen, nsg, rc; in tipc_aead_encrypt() local
750 tailen = len - skb->len + aead->authsize; in tipc_aead_encrypt()
759 if (tailen > skb_tailroom(skb)) { in tipc_aead_encrypt()
761 skb_tailroom(skb), tailen); in tipc_aead_encrypt()
764 nsg = skb_cow_data(skb, tailen, &trailer); in tipc_aead_encrypt()
770 pskb_put(skb, trailer, tailen); in tipc_aead_encrypt()