Home
last modified time | relevance | path

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

12

/linux/Documentation/driver-api/virtio/
H A 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
H A 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 */
123 ("DRIVER_OK"). The virtqueues are anyway enabled automatically by the
129 In any case, the virtqueues need to be enabled before adding buffers to
/linux/Documentation/filesystems/
H A 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
/linux/tools/include/uapi/linux/
H A Dvhost.h
/linux/include/uapi/linux/
H A 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
226 /* Get the count of all virtqueues */
H A Dvirtio_scmi.h18 /* Virtqueues */
H A Dvirtio_net.h333 * the device, the device will not steer new packets on receive virtqueues
334 * other than specified nor read from transmit virtqueues other than specified.
335 * Accordingly, driver should not transmit new packets on virtqueues other than
H A Dvduse.h28 * @vq_num: the number of virtqueues
132 * Setup the specified virtqueue. Make sure all virtqueues have been
H A Dvirtio_config.h119 * This feature indicates that the device support administration virtqueues.
H A Dvhost_types.h189 /* Device supports the driver enabling virtqueues both before and after
H A Dvirtio_snd.h38 /* # of device virtqueues */
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A 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
226 /* Get the count of all virtqueues */
/linux/include/linux/
H A Dvirtio_config.h66 * @find_vqs: find virtqueues and instantiate them.
68 * nvqs: the number of virtqueues to find
69 * vqs: on success, includes new virtqueues
72 * @del_vqs: free virtqueues found by find_vqs().
H A Dvirtio.h18 * @list: the chain of virtqueues for this device
153 * @vqs: the list of virtqueues for this device.
H A Dvdpa.h86 * @nvqs: maximum number of supported virtqueues
615 * @max_supported_vqs: maximum number of virtqueues supported by device
/linux/Documentation/userspace-api/
H A 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
/linux/sound/virtio/
H A Dvirtio_card.c100 * virtsnd_find_vqs() - Enumerate and initialize all virtqueues.
128 dev_err(&vdev->dev, "failed to initialize virtqueues\n"); in virtsnd_find_vqs()
/linux/drivers/scsi/
H A Dvirtio_scsi.c42 "The number of dedicated virtqueues for polling I/O");
632 * virtqueues once. in virtscsi_tmf()
832 /* Stop all the virtqueues. */ in virtscsi_remove_vqs()
880 /* Discover virtqueues and write information to configuration. */ in virtscsi_init()
/linux/drivers/s390/virtio/
H A Dvirtio_ccw.c70 struct list_head virtqueues; member
351 list_for_each_entry(info, &vcdev->virtqueues, node) in virtio_ccw_drop_indicators()
634 list_add(&info->node, &vcdev->virtqueues); in virtio_ccw_setup_vq()
1132 list_for_each_entry(info, &vcdev->virtqueues, node) { in virtio_ccw_vq_by_ind()
1394 INIT_LIST_HEAD(&vcdev->virtqueues); in virtio_ccw_online()
/linux/drivers/virtio/
H A Dvirtio_pci_modern_dev.c673 * vp_modern_get_num_queues - get the number of virtqueues
676 * Returns the number of virtqueues
H A Dvirtio_rtc_driver.c44 * @vqs: virtqueues
1204 * viortc_init_vqs() - init virtqueues
1207 * Inits virtqueues and associated data.
/linux/fs/fuse/
H A Dvirtio_fs.c70 unsigned int nvqs; /* number of virtqueues */
927 /* Initialize virtqueues */
968 /* Initialize the requests virtqueues */ in virtio_fs_setup_vqs()
996 /* Free virtqueues (device must already be reset) */
/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_net.c35 /* 3 virtqueues, 2 address spaces, 2 virtqueue groups */
/linux/arch/um/drivers/
H A Dvirtio_pcidev.c592 /* Stop all virtqueues */ in virtio_pcidev_virtio_remove()
/linux/drivers/char/
H A Dvirtio_console.c144 * A couple of virtqueues for the control channel: one for
155 /* Array of per-port IO virtqueues */
1208 * leave this as zero, virtqueues have implicit notifications. in init_port_console()

12