Home
last modified time | relevance | path

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

/drivers/vhost/
Dnet.c69 VHOST_NET_VQ_TX = 1, enumerator
325 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_TX]; in handle_tx()
675 poll[VHOST_NET_VQ_TX].work); in handle_tx_net()
702 vqs[VHOST_NET_VQ_TX] = &n->vqs[VHOST_NET_VQ_TX].vq; in vhost_net_open()
704 n->vqs[VHOST_NET_VQ_TX].vq.handle_kick = handle_tx_kick; in vhost_net_open()
721 vhost_poll_init(n->poll + VHOST_NET_VQ_TX, handle_tx_net, POLLOUT, dev); in vhost_net_open()
773 *tx_sock = vhost_net_stop_vq(n, &n->vqs[VHOST_NET_VQ_TX].vq); in vhost_net_stop()
785 vhost_net_flush_vq(n, VHOST_NET_VQ_TX); in vhost_net_flush()
787 if (n->vqs[VHOST_NET_VQ_TX].ubufs) { in vhost_net_flush()
788 mutex_lock(&n->vqs[VHOST_NET_VQ_TX].vq.mutex); in vhost_net_flush()
[all …]