Searched refs:tcp_off (Results 1 – 4 of 4) sorted by relevance
72 unsigned int tcp_off; member178 st->tcp_off = skb_transport_header(skb) - skb->data; in tso_start()179 header_len = st->tcp_off + (tcp_hdr(skb)->doff << 2u); in tso_start()187 st->ip_base_len = st->header_len - st->tcp_off; in tso_start()
96 int tcp_off; in __encap_ipv4() local128 tcp_off = sizeof(iph6_inner); in __encap_ipv4()134 tcp_off = sizeof(iph_inner); in __encap_ipv4()141 if (bpf_skb_load_bytes(skb, ETH_HLEN + tcp_off, in __encap_ipv4()
1133 int tcp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv4_tcp_hdr() local1137 tcp = (struct tcphdr *)(skb->data + tcp_off); in mlx5e_shampo_update_ipv4_tcp_hdr()1141 tcp->check = ~tcp_v4_check(skb->len - tcp_off, ipv4->saddr, in mlx5e_shampo_update_ipv4_tcp_hdr()1157 int tcp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv6_tcp_hdr() local1161 tcp = (struct tcphdr *)(skb->data + tcp_off); in mlx5e_shampo_update_ipv6_tcp_hdr()1165 tcp->check = ~tcp_v6_check(skb->len - tcp_off, &ipv6->saddr, in mlx5e_shampo_update_ipv6_tcp_hdr()
6639 u32 tcp_off = skb_transport_offset(skb) - in bnx2_start_xmit() local6644 if (likely(tcp_off == 0)) in bnx2_start_xmit()6647 tcp_off >>= 3; in bnx2_start_xmit()6648 vlan_tag_flags |= ((tcp_off & 0x3) << in bnx2_start_xmit()6650 ((tcp_off & 0x10) << in bnx2_start_xmit()6652 mss |= (tcp_off & 0xc) << TX_BD_TCP6_OFF2_SHL; in bnx2_start_xmit()