Home
last modified time | relevance | path

Searched refs:virtio_net_hdr_mrg_rxbuf (Results 1 – 8 of 8) sorted by relevance

/dpdk/lib/vhost/
H A Dvirtio_net.c900 struct virtio_net_hdr_mrg_rxbuf *hdr) in copy_vnet_hdr_to_desc()
1068 struct virtio_net_hdr_mrg_rxbuf tmp_hdr, *hdr = NULL; in mbuf_to_desc()
1084 memset(&tmp_hdr, 0, sizeof(struct virtio_net_hdr_mrg_rxbuf)); in mbuf_to_desc()
1087 hdr = (struct virtio_net_hdr_mrg_rxbuf *)(uintptr_t)hdr_addr; in mbuf_to_desc()
1310 uint32_t buf_offset = sizeof(struct virtio_net_hdr_mrg_rxbuf); in virtio_dev_rx_sync_batch_check()
1358 uint32_t buf_offset = sizeof(struct virtio_net_hdr_mrg_rxbuf); in virtio_dev_rx_batch_packed_copy()
1359 struct virtio_net_hdr_mrg_rxbuf *hdrs[PACKED_BATCH_SIZE]; in virtio_dev_rx_batch_packed_copy()
1367 hdrs[i] = (struct virtio_net_hdr_mrg_rxbuf *) in virtio_dev_rx_batch_packed_copy()
1370 sizeof(struct virtio_net_hdr_mrg_rxbuf); in virtio_dev_rx_batch_packed_copy()
2802 uint32_t buf_offset = sizeof(struct virtio_net_hdr_mrg_rxbuf); in vhost_reserve_avail_batch_packed()
[all …]
H A Dvhost_user.c374 dev->vhost_hlen = sizeof(struct virtio_net_hdr_mrg_rxbuf); in vhost_user_set_features()
/dpdk/drivers/net/virtio/
H A Dvirtio_rxtx.c1228 struct virtio_net_hdr_mrg_rxbuf *header; in virtio_recv_pkts_inorder()
1243 header = (struct virtio_net_hdr_mrg_rxbuf *) in virtio_recv_pkts_inorder()
1412 struct virtio_net_hdr_mrg_rxbuf *header; in virtio_recv_mergeable_pkts()
1427 header = (struct virtio_net_hdr_mrg_rxbuf *) in virtio_recv_mergeable_pkts()
1585 struct virtio_net_hdr_mrg_rxbuf *header; in virtio_recv_mergeable_pkts_packed()
1600 header = (struct virtio_net_hdr_mrg_rxbuf *)((char *) in virtio_recv_mergeable_pkts_packed()
1799 __alignof__(struct virtio_net_hdr_mrg_rxbuf))) in virtio_xmit_pkts_packed()
1880 __alignof__(struct virtio_net_hdr_mrg_rxbuf))) in virtio_xmit_pkts()
1982 __alignof__(struct virtio_net_hdr_mrg_rxbuf))) { in virtio_xmit_pkts_inorder()
H A Dvirtqueue.h348 struct virtio_net_hdr_mrg_rxbuf { struct
356 struct virtio_net_hdr_mrg_rxbuf tx_hdr; argument
H A Dvirtio_ethdev.c2241 hw->vtnet_hdr_size = sizeof(struct virtio_net_hdr_mrg_rxbuf); in virtio_init_device()
2368 if (sizeof(struct virtio_net_hdr_mrg_rxbuf) > RTE_PKTMBUF_HEADROOM) { in eth_virtio_dev_init()
2371 (int)sizeof(struct virtio_net_hdr_mrg_rxbuf), in eth_virtio_dev_init()
/dpdk/examples/vhost/
H A Dvirtio_net.c33 dev->hdr_len = sizeof(struct virtio_net_hdr_mrg_rxbuf); in vs_vhost_net_setup()
/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_kernel.c554 hdr_size = sizeof(struct virtio_net_hdr_mrg_rxbuf); in vhost_kernel_enable_queue_pair()
/dpdk/doc/guides/nics/
H A Dvirtio.rst62 no less than "sizeof(struct virtio_net_hdr_mrg_rxbuf)", which is 12 bytes when mergeable or