MCPcopy Create free account
hub / github.com/F-Stack/f-stack / do_data_copy_dequeue

Function do_data_copy_dequeue

dpdk/lib/vhost/virtio_net.c:252–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252static inline void
253do_data_copy_dequeue(struct vhost_virtqueue *vq)
254{
255 struct batch_copy_elem *elem = vq->batch_copy_elems;
256 uint16_t count = vq->batch_copy_nb_elems;
257 int i;
258
259 for (i = 0; i < count; i++)
260 rte_memcpy(elem[i].dst, elem[i].src, elem[i].len);
261
262 vq->batch_copy_nb_elems = 0;
263}
264
265static __rte_always_inline void
266do_flush_shadow_used_ring_split(struct virtio_net *dev,

Callers 2

virtio_dev_tx_splitFunction · 0.85
virtio_dev_tx_packedFunction · 0.85

Calls 1

rte_memcpyFunction · 0.50

Tested by

no test coverage detected