Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/vdpa/pds/ !
Dcmds.c126 struct pds_vdpa_vq_info *vq_info) in pds_vdpa_cmd_init_vq() argument
135 .vdpa_vq_init.len = cpu_to_le16(ilog2(vq_info->q_len)), in pds_vdpa_cmd_init_vq()
136 .vdpa_vq_init.desc_addr = cpu_to_le64(vq_info->desc_addr), in pds_vdpa_cmd_init_vq()
137 .vdpa_vq_init.avail_addr = cpu_to_le64(vq_info->avail_addr), in pds_vdpa_cmd_init_vq()
138 .vdpa_vq_init.used_addr = cpu_to_le64(vq_info->used_addr), in pds_vdpa_cmd_init_vq()
140 .vdpa_vq_init.avail_index = cpu_to_le16(vq_info->avail_idx ^ invert_idx), in pds_vdpa_cmd_init_vq()
141 .vdpa_vq_init.used_index = cpu_to_le16(vq_info->used_idx ^ invert_idx), in pds_vdpa_cmd_init_vq()
147 __func__, qid, ilog2(vq_info->q_len), in pds_vdpa_cmd_init_vq()
148 vq_info->desc_addr, vq_info->avail_addr, vq_info->used_addr); in pds_vdpa_cmd_init_vq()
160 struct pds_vdpa_vq_info *vq_info) in pds_vdpa_cmd_reset_vq() argument
[all …]
Dcmds.h14 struct pds_vdpa_vq_info *vq_info);
16 struct pds_vdpa_vq_info *vq_info);
/linux-6.12.1/tools/virtio/ !
Dvhost_net_test.c32 struct vq_info { struct
48 struct vq_info vqs[2]; argument
140 struct vq_info *info = vq->priv; in vq_notify()
150 static void vhost_vq_setup(struct vdev_info *dev, struct vq_info *info) in vhost_vq_setup()
178 static void vq_reset(struct vq_info *info, int num, struct virtio_device *vdev) in vq_reset()
194 struct vq_info *info = &dev->vqs[idx]; in vq_info_add()
257 static void wait_for_interrupt(struct vq_info *vq) in wait_for_interrupt()
275 static void run_tx_test(struct vdev_info *dev, struct vq_info *vq, in run_tx_test()
342 static void run_rx_test(struct vdev_info *dev, struct vq_info *vq, in run_rx_test()
Dvirtio_test.c27 struct vq_info { struct
42 struct vq_info vqs[1]; argument
55 struct vq_info *info = vq->priv; in vq_notify()
68 void vhost_vq_setup(struct vdev_info *dev, struct vq_info *info) in vhost_vq_setup()
98 static void vq_reset(struct vq_info *info, int num, struct virtio_device *vdev) in vq_reset()
113 struct vq_info *info = &dev->vqs[dev->nvqs]; in vq_info_add()
169 static void run_test(struct vdev_info *dev, struct vq_info *vq, in run_test()
/linux-6.12.1/drivers/vdpa/vdpa_user/ !
Dvduse_dev.c1256 struct vduse_vq_info vq_info; in vduse_dev_ioctl() local
1261 if (copy_from_user(&vq_info, argp, sizeof(vq_info))) in vduse_dev_ioctl()
1265 if (vq_info.index >= dev->vq_num) in vduse_dev_ioctl()
1268 index = array_index_nospec(vq_info.index, dev->vq_num); in vduse_dev_ioctl()
1270 vq_info.desc_addr = vq->desc_addr; in vduse_dev_ioctl()
1271 vq_info.driver_addr = vq->driver_addr; in vduse_dev_ioctl()
1272 vq_info.device_addr = vq->device_addr; in vduse_dev_ioctl()
1273 vq_info.num = vq->num; in vduse_dev_ioctl()
1276 vq_info.packed.last_avail_counter = in vduse_dev_ioctl()
1278 vq_info.packed.last_avail_idx = in vduse_dev_ioctl()
[all …]