Home
last modified time | relevance | path

Searched refs:network_depth (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1162 int network_depth = 0; in mlx5e_lro_update_hdr() local
1170 tot_len = cqe_bcnt - network_depth; in mlx5e_lro_update_hdr()
1171 ip_p = skb->data + network_depth; in mlx5e_lro_update_hdr()
1373 int network_depth = 0; in mlx5e_enable_ecn() local
1381 ip = skb->data + network_depth; in mlx5e_enable_ecn()
1390 void *ip_p = skb->data + network_depth; in get_ip_proto()
1442 if (network_depth > ETH_HLEN) in mlx5e_skb_csum_fixup()
1448 network_depth - ETH_HLEN, in mlx5e_skb_csum_fixup()
1454 ip4 = (struct iphdr *)(skb->data + network_depth); in mlx5e_skb_csum_fixup()
1455 pkt_len = network_depth + ntohs(ip4->tot_len); in mlx5e_skb_csum_fixup()
[all …]
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c1068 int network_depth = 0; in otx2_ptp_is_sync() local
1089 proto = __vlan_get_protocol(skb, eth->h_proto, &network_depth); in otx2_ptp_is_sync()
1094 if (network_depth) in otx2_ptp_is_sync()
1095 *offset = network_depth; in otx2_ptp_is_sync()