Lines Matching refs:VHOST_NET_VQ_RX
85 VHOST_NET_VQ_RX = 0, enumerator
577 struct vhost_net_virtqueue *rnvq = &net->vqs[VHOST_NET_VQ_RX]; in vhost_net_tx_get_vq_desc()
1018 struct vhost_net_virtqueue *rnvq = &net->vqs[VHOST_NET_VQ_RX]; in vhost_net_rx_peek_head_len()
1117 struct vhost_net_virtqueue *nvq = &net->vqs[VHOST_NET_VQ_RX]; in handle_rx()
1143 mutex_lock_nested(&vq->mutex, VHOST_NET_VQ_RX); in handle_rx()
1289 poll[VHOST_NET_VQ_RX].work); in handle_rx_net()
1318 n->vqs[VHOST_NET_VQ_RX].rxq.queue = queue; in vhost_net_open()
1331 vqs[VHOST_NET_VQ_RX] = &n->vqs[VHOST_NET_VQ_RX].vq; in vhost_net_open()
1333 n->vqs[VHOST_NET_VQ_RX].vq.handle_kick = handle_rx_kick; in vhost_net_open()
1352 vhost_poll_init(n->poll + VHOST_NET_VQ_RX, handle_rx_net, EPOLLIN, dev, in vhost_net_open()
1353 vqs[VHOST_NET_VQ_RX]); in vhost_net_open()
1383 *rx_sock = vhost_net_stop_vq(n, &n->vqs[VHOST_NET_VQ_RX].vq); in vhost_net_stop()
1422 kfree(n->vqs[VHOST_NET_VQ_RX].rxq.queue); in vhost_net_release()
1555 if (index == VHOST_NET_VQ_RX) { in vhost_net_set_backend()