Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1082 int udp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv4_udp_hdr() local
1086 uh = (struct udphdr *)(skb->data + udp_off); in mlx5e_shampo_update_ipv4_udp_hdr()
1087 uh->len = htons(skb->len - udp_off); in mlx5e_shampo_update_ipv4_udp_hdr()
1090 uh->check = ~udp_v4_check(skb->len - udp_off, ipv4->saddr, in mlx5e_shampo_update_ipv4_udp_hdr()
1101 int udp_off = rq->hw_gro_data->fk.control.thoff; in mlx5e_shampo_update_ipv6_udp_hdr() local
1105 uh = (struct udphdr *)(skb->data + udp_off); in mlx5e_shampo_update_ipv6_udp_hdr()
1106 uh->len = htons(skb->len - udp_off); in mlx5e_shampo_update_ipv6_udp_hdr()
1109 uh->check = ~udp_v6_check(skb->len - udp_off, &ipv6->saddr, in mlx5e_shampo_update_ipv6_udp_hdr()