Lines Matching refs:gso
703 struct virtio_net_hdr *gso;
730 offsetof(struct tun_xdp_hdr, gso),
736 gso = &hdr->gso;
738 if ((gso->flags & VIRTIO_NET_HDR_F_NEEDS_CSUM) &&
739 vhost16_to_cpu(vq, gso->csum_start) +
740 vhost16_to_cpu(vq, gso->csum_offset) + 2 >
741 vhost16_to_cpu(vq, gso->hdr_len)) {
742 gso->hdr_len = cpu_to_vhost16(vq,
743 vhost16_to_cpu(vq, gso->csum_start) +
744 vhost16_to_cpu(vq, gso->csum_offset) + 2);
746 if (vhost16_to_cpu(vq, gso->hdr_len) > len)