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

Function reset_vring_queue

dpdk/lib/vhost/vhost.c:620–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618}
619
620static void
621reset_vring_queue(struct virtio_net *dev, struct vhost_virtqueue *vq)
622{
623 int callfd;
624
625 callfd = vq->callfd;
626 init_vring_queue(dev, vq, vq->index);
627 vq->callfd = callfd;
628}
629
630int
631alloc_vring_queue(struct virtio_net *dev, uint32_t vring_idx)

Callers 1

reset_deviceFunction · 0.85

Calls 1

init_vring_queueFunction · 0.85

Tested by

no test coverage detected