Lines Matching refs:queue_sel
34 virtio_user_create_queue(struct virtio_user_dev *dev, uint32_t queue_sel) in virtio_user_create_queue() argument
43 file.index = queue_sel; in virtio_user_create_queue()
44 file.fd = dev->callfds[queue_sel]; in virtio_user_create_queue()
47 PMD_INIT_LOG(ERR, "(%s) Failed to create queue %u", dev->path, queue_sel); in virtio_user_create_queue()
55 virtio_user_kick_queue(struct virtio_user_dev *dev, uint32_t queue_sel) in virtio_user_kick_queue() argument
60 struct vring *vring = &dev->vrings[queue_sel]; in virtio_user_kick_queue()
61 struct vring_packed *pq_vring = &dev->packed_vrings[queue_sel]; in virtio_user_kick_queue()
63 .index = queue_sel, in virtio_user_kick_queue()
81 state.index = queue_sel; in virtio_user_kick_queue()
87 state.index = queue_sel; in virtio_user_kick_queue()
103 file.index = queue_sel; in virtio_user_kick_queue()
104 file.fd = dev->kickfds[queue_sel]; in virtio_user_kick_queue()
111 PMD_INIT_LOG(ERR, "(%s) Failed to kick queue %u", dev->path, queue_sel); in virtio_user_kick_queue()
120 uint32_t i, queue_sel; in virtio_user_queue_setup() local
123 queue_sel = 2 * i + VTNET_SQ_RQ_QUEUE_IDX; in virtio_user_queue_setup()
124 if (fn(dev, queue_sel) < 0) { in virtio_user_queue_setup()
130 queue_sel = 2 * i + VTNET_SQ_TQ_QUEUE_IDX; in virtio_user_queue_setup()
131 if (fn(dev, queue_sel) < 0) { in virtio_user_queue_setup()