Searched refs:gso_type (Results 1 – 4 of 4) sorted by relevance
312 uint8_t gso_type; member634 ASSIGN_UNLESS_EQUAL((hdr_)->gso_type, 0); \671 hdr->gso_type = (cookie->ol_flags & PKT_TX_IPV6) ? in virtqueue_xmit_offload()680 ASSIGN_UNLESS_EQUAL(hdr->gso_type, 0); in virtqueue_xmit_offload()
888 if (hdr->flags == 0 && hdr->gso_type == VIRTIO_NET_HDR_GSO_NONE) in virtio_rx_offload()929 if (hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in virtio_rx_offload()931 if ((hdr->gso_type & VIRTIO_NET_HDR_GSO_ECN) || in virtio_rx_offload()938 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in virtio_rx_offload()
465 net_hdr->gso_type = VIRTIO_NET_HDR_GSO_TCPV4; in virtio_enqueue_offload()467 net_hdr->gso_type = VIRTIO_NET_HDR_GSO_TCPV6; in virtio_enqueue_offload()472 net_hdr->gso_type = VIRTIO_NET_HDR_GSO_UDP; in virtio_enqueue_offload()477 ASSIGN_UNLESS_EQUAL(net_hdr->gso_type, 0); in virtio_enqueue_offload()1847 if (hdr->flags == 0 && hdr->gso_type == VIRTIO_NET_HDR_GSO_NONE) in vhost_dequeue_offload()1872 if (l4_hdr && hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in vhost_dequeue_offload()1873 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in vhost_dequeue_offload()1888 "unsupported gso type %u.\n", hdr->gso_type); in vhost_dequeue_offload()
1722 vhdr.hdr.gso_type, vhdr.hdr.hdr_len, in tunread()1881 vhdr.hdr.gso_type, vhdr.hdr.hdr_len, in tunwrite()