Home
last modified time | relevance | path

Searched refs:iplen (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
A Den_selftest.c87 int iplen; in mlx5e_test_get_udp_skb() local
124 iplen = sizeof(struct iphdr) + sizeof(struct udphdr) + in mlx5e_test_get_udp_skb()
126 iph->tot_len = htons(iplen); in mlx5e_test_get_udp_skb()
/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
A Dchcr_ktls.c993 u32 ctrl, iplen, maclen; in chcr_ktls_write_tcp_options() local
1005 iplen = skb_network_header_len(skb); in chcr_ktls_write_tcp_options()
1055 ip6->payload_len = htons(pktlen - maclen - iplen); in chcr_ktls_write_tcp_options()
1060 TXPKT_IPHDR_LEN_V(iplen); in chcr_ktls_write_tcp_options()
1070 tcp = (struct tcphdr *)(buf + maclen + iplen); in chcr_ktls_write_tcp_options()
1569 u32 ctrl, iplen, maclen, wr_mid = 0, len16; in chcr_ktls_tunnel_pkt() local
1609 iplen = skb_network_header_len(skb); in chcr_ktls_tunnel_pkt()
1633 TXPKT_IPHDR_LEN_V(iplen); in chcr_ktls_tunnel_pkt()
/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_selftests.c68 int iplen, size; in stmmac_test_get_udp_skb() local
171 iplen = sizeof(*ihdr) + sizeof(*shdr) + attr->size; in stmmac_test_get_udp_skb()
173 iplen += sizeof(*thdr); in stmmac_test_get_udp_skb()
175 iplen += sizeof(*uhdr); in stmmac_test_get_udp_skb()
178 iplen = attr->max_size - sizeof(*ehdr); in stmmac_test_get_udp_skb()
180 ihdr->tot_len = htons(iplen); in stmmac_test_get_udp_skb()
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_txrx.c735 __be16 iplen; in otx2_sqe_add_ext() local
744 iplen = htons(ext->lso_sb - skb_network_offset(skb)); in otx2_sqe_add_ext()
746 ip_hdr(skb)->tot_len = iplen; in otx2_sqe_add_ext()
749 ipv6_hdr(skb)->payload_len = iplen; in otx2_sqe_add_ext()
/drivers/infiniband/hw/irdma/
A Dpuda.c428 u32 iplen, l4len; in irdma_puda_send() local
437 iplen = 5; in irdma_puda_send()
440 iplen = 10; in irdma_puda_send()
468 FIELD_PREP(IRDMA_UDA_QPSQ_IPLEN, iplen) | in irdma_puda_send()
/drivers/net/ethernet/chelsio/cxgb4/
A Dt4fw_api.h551 __be16 iplen; member
562 __be16 iplen; member
A Dsge.c1466 wr->u.udpseg.iplen = cpu_to_be16(skb_network_header_len(skb)); in write_eo_udp_wr()
2226 wr->u.tcpseg.iplen = cpu_to_be16(skb_network_header_len(skb)); in write_eo_wr()

Completed in 663 milliseconds