Lines Matching +full:device +full:- +full:specific
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 /* Userspace interface for in-kernel virtio accelerators. */
11 * device configuration.
18 #define VHOST_FILE_UNBIND -1
25 * vhost specific features. */
33 /* Give up ownership, and reset the device to default values.
48 /* By default, a device gets one vhost_worker that its virtqueues share. This
49 * command allows the owner of the device to create an additional vhost_worker
50 * for the device. It can later be bound to 1 or more of its virtqueues using
54 * of the device. The new thread will inherit caller's cgroups and namespaces,
64 * the kernel will free all the device's workers when the device is closed.
70 * be modified while ring is running (bound to a device). */
80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL).
81 * The byte order cannot be changed while the device is active: trying to do so
82 * returns -EBUSY.
92 /* Attach a vhost_worker created with VHOST_NEW_WORKER to one of the device's
126 /* VHOST_NET specific defines */
128 /* Attach virtio net ring to a raw socket, or tap device.
129 * The socket must be already bound to an ethernet device, this device will be
130 * used for transmit. Pass fd -1 to unbind from the socket and the transmit
131 * device. This can be used to stop the ring (e.g. for migration). */
134 /* VHOST_SCSI specific defines */
144 /* VHOST_VSOCK specific defines */
149 /* VHOST_VDPA specific defines */
151 /* Get the device id. The device ids follow the same definition of
152 * the device id defined in virtio-spec.
156 * of the device status defined in virtio-spec.
160 /* Get and set the device config. The device config follows the same
161 * definition of the device config defined in virtio-spec.
187 * vhost_vring_state. The group for this specific virtqueue is
199 /* Suspend a device so it does not process virtqueue requests anymore
201 * After the return of ioctl the device must preserve all the necessary state
202 * (the virtqueue vring base plus the possible device specific states) that is
203 * required for restoring in the future. The device must not change its
208 /* Resume a device so it can resume processing virtqueue requests
210 * After the return of this ioctl the device will have restored all the
216 /* Get the group for the descriptor table including driver & device areas
219 * The group ID of the descriptor table for this specific virtqueue
232 /* Get the queue size of a specific virtqueue.