Home
last modified time | relevance | path

Searched refs:tvq (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/vhost/
H A Dnet.c520 struct vhost_virtqueue *tvq, in vhost_net_busy_poll() argument
527 struct vhost_virtqueue *vq = poll_rx ? tvq : rvq; in vhost_net_busy_poll()
540 tvq->busyloop_timeout; in vhost_net_busy_poll()
553 !vhost_vq_avail_empty(&net->dev, tvq)) in vhost_net_busy_poll()
576 struct vhost_virtqueue *tvq = &tnvq->vq; in vhost_net_tx_get_vq_desc() local
578 int r = vhost_get_vq_desc(tvq, tvq->iov, ARRAY_SIZE(tvq->iov), in vhost_net_tx_get_vq_desc()
581 if (r == tvq->num && tvq->busyloop_timeout) { in vhost_net_tx_get_vq_desc()
583 if (!vhost_sock_zcopy(vhost_vq_get_backend(tvq))) in vhost_net_tx_get_vq_desc()
585 vhost_vq_get_backend(tvq), in vhost_net_tx_get_vq_desc()
588 vhost_net_busy_poll(net, rvq, tvq, busyloop_intr, false); in vhost_net_tx_get_vq_desc()
[all …]