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

Function update_shadow_used_ring_split

dpdk/lib/vhost/virtio_net.c:308–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308static __rte_always_inline void
309update_shadow_used_ring_split(struct vhost_virtqueue *vq,
310 uint16_t desc_idx, uint32_t len)
311{
312 uint16_t i = vq->shadow_used_idx++;
313
314 vq->shadow_used_split[i].id = desc_idx;
315 vq->shadow_used_split[i].len = len;
316}
317
318static __rte_always_inline void
319vhost_flush_enqueue_shadow_packed(struct virtio_net *dev,

Callers 2

reserve_avail_buf_splitFunction · 0.85
virtio_dev_tx_splitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected