Home
last modified time | relevance | path

Searched full:virtqueues (Results 1 – 25 of 81) sorted by relevance

1234

/kernel/linux/linux-6.6/Documentation/driver-api/virtio/
Dvirtio.rst24 Device - Driver communication: virtqueues
37 virtqueues, which are actually ring buffers [#f1]_ of buffer descriptors
46 Refer to Chapter 2.5 ("Virtqueues") of the virtio spec (`[1]`_) for the
47 reference definitions of virtqueues and "Virtqueues and virtio ring: How
126 At this point, the virtqueues will be allocated and configured by
140 _`[2]` Virtqueues and virtio ring: How the data travels
141 https://www.redhat.com/en/blog/virtqueues-and-virtio-ring-how-data-travels
Dwriting_virtio_drivers.rst22 and configure the virtqueues for the device according to its spec, the
23 configuration of the virtqueues in the driver side must match the
87 /* remove virtqueues */
124 ("DRIVER_OK"). The virtqueues are anyway enabled automatically by the
130 In any case, the virtqueues need to be enabled before adding buffers to
/kernel/linux/linux-6.6/Documentation/filesystems/
Dvirtiofs.rst68 Mapping /dev/fuse to virtqueues requires solving differences in semantics
69 between /dev/fuse and virtqueues. Each time the /dev/fuse device is read, the
71 prioritize certain requests over others. Virtqueues have queue semantics and
/kernel/linux/linux-5.10/Documentation/filesystems/
Dvirtiofs.rst68 Mapping /dev/fuse to virtqueues requires solving differences in semantics
69 between /dev/fuse and virtqueues. Each time the /dev/fuse device is read, the
71 prioritize certain requests over others. Virtqueues have queue semantics and
/kernel/linux/linux-6.6/include/uapi/linux/
Dvhost.h48 /* By default, a device gets one vhost_worker that its virtqueues share. This
50 * for the device. It can later be bound to 1 or more of its virtqueues using
93 * virtqueues.
96 * is no longer attached to any virtqueues, it can be freed with
182 /* Get the count of all virtqueues */
Dvirtio_scmi.h18 /* Virtqueues */
Dvirtio_net.h299 * the device, the device will not steer new packets on receive virtqueues
300 * other than specified nor read from transmit virtqueues other than specified.
301 * Accordingly, driver should not transmit new packets on virtqueues other than
Dvduse.h28 * @vq_num: the number of virtqueues
132 * Setup the specified virtqueue. Make sure all virtqueues have been
/kernel/linux/linux-6.6/tools/include/uapi/linux/
Dvhost.h48 /* By default, a device gets one vhost_worker that its virtqueues share. This
50 * for the device. It can later be bound to 1 or more of its virtqueues using
93 * virtqueues.
96 * is no longer attached to any virtqueues, it can be freed with
182 /* Get the count of all virtqueues */
/kernel/linux/linux-6.6/drivers/virtio/
Dvirtio_pci_common.h37 /* the list node for the virtqueues list */
59 struct list_head virtqueues; member
93 * virtqueues Thus, we need at least 2 vectors for MSI. */
Dvirtio_vdpa.c35 struct list_head virtqueues; member
42 /* the list node for the virtqueues list */
252 list_add(&info->node, &vd_dev->virtqueues); in virtio_vdpa_setup_vq()
503 INIT_LIST_HEAD(&vd_dev->virtqueues); in virtio_vdpa_probe()
Dvirtio_pci_common.c58 /* Notify all virtqueues on an interrupt. */
67 list_for_each_entry(info, &vp_dev->virtqueues, node) { in vp_vring_interrupt()
161 "%s-virtqueues", name); in vp_request_msix_vectors()
197 list_add(&info->node, &vp_dev->virtqueues); in vp_setup_vq()
537 INIT_LIST_HEAD(&vp_dev->virtqueues); in virtio_pci_probe()
Dvirtio_mmio.c94 struct list_head virtqueues; member
101 /* the list node for the virtqueues list */
299 /* Notify all virtqueues on an interrupt. */
319 list_for_each_entry(info, &vm_dev->virtqueues, node) in vm_interrupt()
470 list_add(&info->node, &vm_dev->virtqueues); in vm_setup_vq()
630 INIT_LIST_HEAD(&vm_dev->virtqueues); in virtio_mmio_probe()
/kernel/linux/linux-5.10/drivers/virtio/
Dvirtio_pci_common.h35 /* the list node for the virtqueues list */
77 struct list_head virtqueues; member
111 * virtqueues Thus, we need at least 2 vectors for MSI. */
Dvirtio_vdpa.c34 struct list_head virtqueues; member
41 /* the list node for the virtqueues list */
203 list_add(&info->node, &vd_dev->virtqueues); in virtio_vdpa_setup_vq()
351 INIT_LIST_HEAD(&vd_dev->virtqueues); in virtio_vdpa_probe()
Dvirtio_pci_common.c58 /* Notify all virtqueues on an interrupt. */
67 list_for_each_entry(info, &vp_dev->virtqueues, node) { in vp_vring_interrupt()
161 "%s-virtqueues", name); in vp_request_msix_vectors()
197 list_add(&info->node, &vp_dev->virtqueues); in vp_setup_vq()
526 INIT_LIST_HEAD(&vp_dev->virtqueues); in virtio_pci_probe()
Dvirtio_mmio.c93 struct list_head virtqueues; member
100 /* the list node for the virtqueues list */
283 /* Notify all virtqueues on an interrupt. */
303 list_for_each_entry(info, &vm_dev->virtqueues, node) in vm_interrupt()
439 list_add(&info->node, &vm_dev->virtqueues); in vm_setup_vq()
595 INIT_LIST_HEAD(&vm_dev->virtqueues); in virtio_mmio_probe()
/kernel/linux/linux-5.10/include/uapi/linux/
Dvirtio_net.h293 * the device, the device will not steer new packets on receive virtqueues
294 * other than specified nor read from transmit virtqueues other than specified.
295 * Accordingly, driver should not transmit new packets on virtqueues other than
/kernel/linux/linux-5.10/include/linux/
Dvirtio.h15 * @list: the chain of virtqueues for this device
103 * @vqs: the list of virtqueues for this device.
Dvirtio_config.h50 * @find_vqs: find virtqueues and instantiate them.
52 * nvqs: the number of virtqueues to find
53 * vqs: on success, includes new virtqueues
59 * @del_vqs: free virtqueues found by find_vqs().
/kernel/linux/linux-6.6/Documentation/userspace-api/
Dvduse.rst101 configuration space, the number of virtqueues and so on for this emulated device.
221 3. Setup the kick eventfd for the specified virtqueues with the VDUSE_VQ_SETUP_KICKFD
/kernel/linux/linux-6.6/include/linux/
Dvirtio_config.h52 * @find_vqs: find virtqueues and instantiate them.
54 * nvqs: the number of virtqueues to find
55 * vqs: on success, includes new virtqueues
61 * @del_vqs: free virtqueues found by find_vqs().
Dvirtio.h16 * @list: the chain of virtqueues for this device
118 * @vqs: the list of virtqueues for this device.
/kernel/linux/linux-6.6/drivers/vdpa/ifcvf/
Difcvf_base.c83 * all virtqueues. It is the minimal size that can be
84 * suppprted by all virtqueues.
/kernel/linux/linux-6.6/sound/virtio/
Dvirtio_card.c101 * virtsnd_find_vqs() - Enumerate and initialize all virtqueues.
132 dev_err(&vdev->dev, "failed to initialize virtqueues\n"); in virtsnd_find_vqs()

1234