Home
last modified time | relevance | path

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

/dpdk/drivers/net/virtio/
H A Dvirtqueue.h337 uint8_t gso_type; member
659 ASSIGN_UNLESS_EQUAL((hdr_)->gso_type, 0); \
696 hdr->gso_type = (cookie->ol_flags & RTE_MBUF_F_TX_IPV6) ? in virtqueue_xmit_offload()
703 ASSIGN_UNLESS_EQUAL(hdr->gso_type, 0); in virtqueue_xmit_offload()
H A Dvirtio_rxtx.c917 if (hdr->flags == 0 && hdr->gso_type == VIRTIO_NET_HDR_GSO_NONE) in virtio_rx_offload()
958 if (hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in virtio_rx_offload()
960 if ((hdr->gso_type & VIRTIO_NET_HDR_GSO_ECN) || in virtio_rx_offload()
967 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in virtio_rx_offload()
/dpdk/lib/vhost/
H A Dvirtio_net.c586 net_hdr->gso_type = VIRTIO_NET_HDR_GSO_TCPV4; in virtio_enqueue_offload()
588 net_hdr->gso_type = VIRTIO_NET_HDR_GSO_TCPV6; in virtio_enqueue_offload()
593 net_hdr->gso_type = VIRTIO_NET_HDR_GSO_UDP; in virtio_enqueue_offload()
598 ASSIGN_UNLESS_EQUAL(net_hdr->gso_type, 0); in virtio_enqueue_offload()
2324 if (hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in vhost_dequeue_offload_legacy()
2325 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in vhost_dequeue_offload_legacy()
2349 dev->ifname, hdr->gso_type); in vhost_dequeue_offload_legacy()
2369 if (hdr->flags == 0 && hdr->gso_type == VIRTIO_NET_HDR_GSO_NONE) in vhost_dequeue_offload()
2425 if (hdr->gso_type != VIRTIO_NET_HDR_GSO_NONE) { in vhost_dequeue_offload()
2429 switch (hdr->gso_type & ~VIRTIO_NET_HDR_GSO_ECN) { in vhost_dequeue_offload()