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

Function vhost_log_used_vring

dpdk/lib/vhost/vhost.h:636–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634}
635
636static __rte_always_inline void
637vhost_log_used_vring(struct virtio_net *dev, struct vhost_virtqueue *vq,
638 uint64_t offset, uint64_t len)
639{
640 if (unlikely(dev->features & (1ULL << VHOST_F_LOG_ALL))) {
641 if (unlikely(vq->log_guest_addr == 0))
642 return;
643 __vhost_log_write(dev, vq->log_guest_addr + offset, len);
644 }
645}
646
647static __rte_always_inline void
648vhost_log_cache_write_iova(struct virtio_net *dev, struct vhost_virtqueue *vq,

Callers 2

rte_vhost_log_used_vringFunction · 0.85

Calls 1

__vhost_log_writeFunction · 0.85

Tested by

no test coverage detected