Searched refs:cvq (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_net.c109 struct vdpasim_virtqueue *cvq = &vdpasim->vqs[2]; local
115 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->in_iov,
129 struct vdpasim_virtqueue *cvq = &vdpasim->vqs[2]; local
140 if (!cvq->ready)
144 err = vringh_getdesc_iotlb(&cvq->vring, &cvq->in_iov,
145 &cvq->out_iov,
146 &cvq->head, GFP_ATOMIC);
151 read = vringh_iov_pull_iotlb(&cvq
[all...]
/linux-master/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c1938 struct mlx5_control_vq *cvq = &mvdev->cvq; local
1947 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, (void *)mac, ETH_ALEN);
2066 struct mlx5_control_vq *cvq = &mvdev->cvq; local
2085 read = vringh_iov_pull_iotlb(&cvq->vring, &cvq->riov, (void *)&mq, sizeof(mq));
2114 struct mlx5_control_vq *cvq = &mvdev->cvq; local
2156 struct mlx5_control_vq *cvq; local
2281 struct mlx5_control_vq *cvq = &mvdev->cvq; local
2303 struct mlx5_control_vq *cvq = container_of(vring, struct mlx5_control_vq, vring); local
2313 struct mlx5_control_vq *cvq = &mvdev->cvq; local
2964 struct mlx5_control_vq *cvq = &mvdev->cvq; local
3301 struct mlx5_control_vq *cvq; local
3351 struct mlx5_control_vq *cvq; local
[all...]
/linux-master/drivers/vdpa/mlx5/core/
H A Dresources.c232 mvdev->cvq.iotlb = vhost_iotlb_alloc(0, 0);
233 if (!mvdev->cvq.iotlb)
236 spin_lock_init(&mvdev->cvq.iommu_lock);
237 vringh_set_iotlb(&mvdev->cvq.vring, mvdev->cvq.iotlb, &mvdev->cvq.iommu_lock);
244 vhost_iotlb_free(mvdev->cvq.iotlb);
H A Dmlx5_vdpa.h102 struct mlx5_control_vq cvq; member in struct:mlx5_vdpa_dev
H A Dmr.c587 prune_iotlb(mvdev->cvq.iotlb);
667 spin_lock(&mvdev->cvq.iommu_lock);
669 prune_iotlb(mvdev->cvq.iotlb);
670 err = dup_iotlb(mvdev->cvq.iotlb, iotlb);
672 spin_unlock(&mvdev->cvq.iommu_lock);
/linux-master/drivers/net/
H A Dvirtio_net.c256 struct virtqueue *cvq; member in struct:virtnet_info
406 * 0:rx0 1:tx0 2:rx1 3:tx1 ... 2N:rxN 2N+1:txN 2N+2:cvq
2555 ret = virtqueue_add_sgs(vi->cvq, sgs, out_num, 1, vi, GFP_ATOMIC);
2562 if (unlikely(!virtqueue_kick(vi->cvq)))
2568 while (!virtqueue_get_buf(vi->cvq, &tmp) &&
2569 !virtqueue_is_broken(vi->cvq)) {
4411 vi->cvq = vqs[total_vqs - 1];

Completed in 209 milliseconds