Lines Matching refs:l4_hdr_offset
378 int l4_hdr_offset, u32 desc_cnt, in gve_tx_fill_pkt_desc() argument
385 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc()
389 pkt_desc->pkt.l4_hdr_offset = l4_hdr_offset >> 1; in gve_tx_fill_pkt_desc()
393 pkt_desc->pkt.l4_hdr_offset = 0; in gve_tx_fill_pkt_desc()
442 int pad_bytes, hlen, hdr_nfrags, payload_nfrags, l4_hdr_offset; in gve_tx_add_skb_copy() local
456 l4_hdr_offset = skb_checksum_start_offset(skb); in gve_tx_add_skb_copy()
462 hlen = is_gso ? l4_hdr_offset + tcp_hdrlen(skb) : in gve_tx_add_skb_copy()
476 gve_tx_fill_pkt_desc(pkt_desc, skb, is_gso, l4_hdr_offset, in gve_tx_add_skb_copy()
517 int hlen, num_descriptors, l4_hdr_offset; in gve_tx_add_skb_no_copy() local
530 l4_hdr_offset = skb_checksum_start_offset(skb); in gve_tx_add_skb_no_copy()
536 hlen = is_gso ? l4_hdr_offset + tcp_hdrlen(skb) : skb_headlen(skb); in gve_tx_add_skb_no_copy()
555 gve_tx_fill_pkt_desc(pkt_desc, skb, is_gso, l4_hdr_offset, in gve_tx_add_skb_no_copy()