Searched refs:network_depth (Results 1 – 2 of 2) sorted by relevance
1167 int network_depth = 0; in mlx5e_lro_update_hdr() local1175 tot_len = cqe_bcnt - network_depth; in mlx5e_lro_update_hdr()1176 ip_p = skb->data + network_depth; in mlx5e_lro_update_hdr()1379 int network_depth = 0; in mlx5e_enable_ecn() local1387 ip = skb->data + network_depth; in mlx5e_enable_ecn()1396 void *ip_p = skb->data + network_depth; in get_ip_proto()1448 if (network_depth > ETH_HLEN) in mlx5e_skb_csum_fixup()1454 network_depth - ETH_HLEN, in mlx5e_skb_csum_fixup()1460 ip4 = (struct iphdr *)(skb->data + network_depth); in mlx5e_skb_csum_fixup()1461 pkt_len = network_depth + ntohs(ip4->tot_len); in mlx5e_skb_csum_fixup()[all …]
1024 int network_depth = 0; in otx2_ptp_is_sync() local1045 proto = __vlan_get_protocol(skb, eth->h_proto, &network_depth); in otx2_ptp_is_sync()1050 if (network_depth) in otx2_ptp_is_sync()1051 *offset = network_depth; in otx2_ptp_is_sync()