Searched refs:network_depth (Results  1 – 1 of 1) sorted by relevance
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ | 
| D | en_rx.c | 793 	int network_depth = 0;  in mlx5e_lro_update_hdr()  local 799 	proto = __vlan_get_protocol(skb, eth->h_proto, &network_depth);  in mlx5e_lro_update_hdr() 801 	tot_len = cqe_bcnt - network_depth;  in mlx5e_lro_update_hdr() 802 	ip_p = skb->data + network_depth;  in mlx5e_lro_update_hdr() 852 static inline bool is_last_ethertype_ip(struct sk_buff *skb, int *network_depth,  in is_last_ethertype_ip()  argument 856 	*proto = __vlan_get_protocol(skb, *proto, network_depth);  in is_last_ethertype_ip() 859 		return pskb_may_pull(skb, *network_depth + sizeof(struct iphdr));  in is_last_ethertype_ip() 862 		return pskb_may_pull(skb, *network_depth + sizeof(struct ipv6hdr));  in is_last_ethertype_ip() 869 	int network_depth = 0;  in mlx5e_enable_ecn()  local 874 	if (unlikely(!is_last_ethertype_ip(skb, &network_depth, &proto)))  in mlx5e_enable_ecn() [all …] 
 |