Home
last modified time | relevance | path

Searched refs:csum_start (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/drivers/net/virtio/
H A Dvirtqueue.h315 uint16_t csum_start; /**< Position to start checksumming from */ member
631 ASSIGN_UNLESS_EQUAL((hdr_)->csum_start, 0); \
650 hdr->csum_start = cookie->l2_len + cookie->l3_len; in virtqueue_xmit_offload()
657 hdr->csum_start = cookie->l2_len + cookie->l3_len; in virtqueue_xmit_offload()
663 ASSIGN_UNLESS_EQUAL(hdr->csum_start, 0); in virtqueue_xmit_offload()
H A Dvirtio_rxtx_packed_avx.c328 if (hdr->csum_start <= hdrlen && l4_supported) { in virtio_vec_rx_offload()
339 if (rte_raw_cksum_mbuf(m, hdr->csum_start, in virtio_vec_rx_offload()
340 rte_pktmbuf_pkt_len(m) - hdr->csum_start, in virtio_vec_rx_offload()
345 off = hdr->csum_offset + hdr->csum_start; in virtio_vec_rx_offload()
H A Dvirtio_rxtx.c902 if (hdr->csum_start <= hdrlen && l4_supported) { in virtio_rx_offload()
913 if (rte_raw_cksum_mbuf(m, hdr->csum_start, in virtio_rx_offload()
914 rte_pktmbuf_pkt_len(m) - hdr->csum_start, in virtio_rx_offload()
919 off = hdr->csum_offset + hdr->csum_start; in virtio_rx_offload()
/f-stack/dpdk/lib/librte_vhost/
H A Dvirtio_net.c431 net_hdr->csum_start = m_buf->l2_len + m_buf->l3_len; in virtio_enqueue_offload()
448 ASSIGN_UNLESS_EQUAL(net_hdr->csum_start, 0); in virtio_enqueue_offload()
1852 if (hdr->csum_start == (m->l2_len + m->l3_len)) { in vhost_dequeue_offload()
/f-stack/freebsd/net/
H A Dif_tuntap.c1723 vhdr.hdr.gso_size, vhdr.hdr.csum_start, in tunread()
1882 vhdr.hdr.gso_size, vhdr.hdr.csum_start, in tunwrite()
/f-stack/dpdk/drivers/net/ionic/
H A Dionic_if.h702 __le16 csum_start; member