Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/virtio/virtio_user/
H A Dvirtio_user_dev.c41 file.index = queue_sel; in virtio_user_create_queue()
42 file.fd = dev->callfds[queue_sel]; in virtio_user_create_queue()
56 .index = queue_sel, in virtio_user_kick_queue()
74 state.index = queue_sel; in virtio_user_kick_queue()
78 state.index = queue_sel; in virtio_user_kick_queue()
90 file.index = queue_sel; in virtio_user_kick_queue()
91 file.fd = dev->kickfds[queue_sel]; in virtio_user_kick_queue()
101 uint32_t i, queue_sel; in virtio_user_queue_setup() local
104 queue_sel = 2 * i + VTNET_SQ_RQ_QUEUE_IDX; in virtio_user_queue_setup()
105 if (fn(dev, queue_sel) < 0) { in virtio_user_queue_setup()
[all …]
H A Dvhost_kernel.c187 unsigned int queue_sel; in vhost_kernel_ioctl() local
219 queue_sel = *(unsigned int *)arg; in vhost_kernel_ioctl()
220 vhostfd = dev->vhostfds[queue_sel / 2]; in vhost_kernel_ioctl()
221 *(unsigned int *)arg = queue_sel % 2; in vhost_kernel_ioctl()