Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1170 int network_depth = 0; in mlx5e_lro_update_hdr() local
1176 proto = __vlan_get_protocol(skb, eth->h_proto, &network_depth); in mlx5e_lro_update_hdr()
1178 tot_len = cqe_bcnt - network_depth; in mlx5e_lro_update_hdr()
1179 ip_p = skb->data + network_depth; in mlx5e_lro_update_hdr()
1366 static inline bool is_last_ethertype_ip(struct sk_buff *skb, int *network_depth, in is_last_ethertype_ip() argument
1370 *proto = __vlan_get_protocol(skb, *proto, network_depth); in is_last_ethertype_ip()
1373 return pskb_may_pull(skb, *network_depth + sizeof(struct iphdr)); in is_last_ethertype_ip()
1376 return pskb_may_pull(skb, *network_depth + sizeof(struct ipv6hdr)); in is_last_ethertype_ip()
1383 int network_depth = 0; in mlx5e_enable_ecn() local
1388 if (unlikely(!is_last_ethertype_ip(skb, &network_depth, in mlx5e_enable_ecn()
1398 get_ip_proto(struct sk_buff * skb,int network_depth,__be16 proto) get_ip_proto() argument
1444 mlx5e_skb_csum_fixup(struct sk_buff * skb,int network_depth,__be16 proto,struct mlx5e_rq_stats * stats) mlx5e_skb_csum_fixup() argument
1488 int network_depth = 0; mlx5e_handle_csum() local
[all...]
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c1072 int network_depth = 0; in otx2_ptp_is_sync() local
1093 proto = __vlan_get_protocol(skb, eth->h_proto, &network_depth); in otx2_ptp_is_sync()
1098 if (network_depth) in otx2_ptp_is_sync()
1099 *offset = network_depth; in otx2_ptp_is_sync()