Lines Matching refs:gso_type
657 if (gso.gso_type != VIRTIO_NET_HDR_GSO_NONE) {
659 switch (gso.gso_type & ~VIRTIO_NET_HDR_GSO_ECN) {
661 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV4;
664 skb_shinfo(skb)->gso_type = SKB_GSO_TCPV6;
667 skb_shinfo(skb)->gso_type = SKB_GSO_UDP;
675 if (gso.gso_type & VIRTIO_NET_HDR_GSO_ECN)
676 skb_shinfo(skb)->gso_type |= SKB_GSO_TCP_ECN;
686 skb_shinfo(skb)->gso_type |= SKB_GSO_DODGY;
750 if (sinfo->gso_type & SKB_GSO_TCPV4)
751 gso.gso_type = VIRTIO_NET_HDR_GSO_TCPV4;
752 else if (sinfo->gso_type & SKB_GSO_TCPV6)
753 gso.gso_type = VIRTIO_NET_HDR_GSO_TCPV6;
754 else if (sinfo->gso_type & SKB_GSO_UDP)
755 gso.gso_type = VIRTIO_NET_HDR_GSO_UDP;
759 sinfo->gso_type, gso.gso_size,
768 if (sinfo->gso_type & SKB_GSO_TCP_ECN)
769 gso.gso_type |= VIRTIO_NET_HDR_GSO_ECN;
771 gso.gso_type = VIRTIO_NET_HDR_GSO_NONE;