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

Function vhost_log_cache_used_vring

dpdk/lib/vhost/vhost.h:624–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622}
623
624static __rte_always_inline void
625vhost_log_cache_used_vring(struct virtio_net *dev, struct vhost_virtqueue *vq,
626 uint64_t offset, uint64_t len)
627{
628 if (unlikely(dev->features & (1ULL << VHOST_F_LOG_ALL))) {
629 if (unlikely(vq->log_guest_addr == 0))
630 return;
631 __vhost_log_cache_write(dev, vq, vq->log_guest_addr + offset,
632 len);
633 }
634}
635
636static __rte_always_inline void
637vhost_log_used_vring(struct virtio_net *dev, struct vhost_virtqueue *vq,

Calls 1

__vhost_log_cache_writeFunction · 0.85

Tested by

no test coverage detected