Home
last modified time | relevance | path

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

/dpdk/drivers/net/virtio/
H A Dvirtqueue.h341 uint16_t csum_offset; /**< Offset after that to place checksum */ member
657 ASSIGN_UNLESS_EQUAL((hdr_)->csum_offset, 0); \
677 hdr->csum_offset = offsetof(struct rte_udp_hdr, dgram_cksum); in virtqueue_xmit_offload()
683 hdr->csum_offset = offsetof(struct rte_tcp_hdr, cksum); in virtqueue_xmit_offload()
689 ASSIGN_UNLESS_EQUAL(hdr->csum_offset, 0); in virtqueue_xmit_offload()
H A Dvirtio_rxtx_packed.h196 off = hdr->csum_offset + hdr->csum_start; in virtio_vec_rx_offload()
H A Dvirtio_rxtx.c948 off = hdr->csum_offset + hdr->csum_start; in virtio_rx_offload()
/dpdk/lib/vhost/
H A Dvirtio_net.c556 net_hdr->csum_offset = (offsetof(struct rte_tcp_hdr, in virtio_enqueue_offload()
560 net_hdr->csum_offset = (offsetof(struct rte_udp_hdr, in virtio_enqueue_offload()
564 net_hdr->csum_offset = (offsetof(struct rte_sctp_hdr, in virtio_enqueue_offload()
570 ASSIGN_UNLESS_EQUAL(net_hdr->csum_offset, 0); in virtio_enqueue_offload()
2300 switch (hdr->csum_offset) { in vhost_dequeue_offload_legacy()
2419 off = hdr->csum_offset + hdr->csum_start; in vhost_dequeue_offload()
/dpdk/drivers/net/ionic/
H A Dionic_if.h785 __le16 csum_offset; member