Lines Matching +full:module +full:- +full:instance
2 VDUSE - "vDPA Device in Userspace"
9 possible to implement software-emulated vDPA devices in userspace. And
21 ----------------------------
25 1. Create a new VDUSE instance with ioctl(VDUSE_CREATE_DEV) on
31 messages will arrive while attaching the VDUSE instance to vDPA bus.
34 instance to vDPA bus.
39 instance from vDPA bus.
43 3. Destroy the VDUSE instance with ioctl(VDUSE_DESTROY_DEV) on
49 .. code-block:: c
59 return -ENOMEM;
92 return -1;
96 ---------------
104 add per-virtqueue configuration such as the max size of virtqueue to the device.
109 module as follows:
111 .. code-block:: c
121 return -1;
133 return -1;
140 - VDUSE_GET_VQ_STATE: Get the state for virtqueue, userspace should return
144 - VDUSE_SET_STATUS: Set the device status, userspace should follow
145 the virtio spec: https://docs.oasis-open.org/virtio/virtio/v1.1/virtio-v1.1.html
150 - VDUSE_UPDATE_IOTLB: Notify userspace to update the memory mapping for specified
164 .. code-block:: c
203 size = entry.last - entry.start + 1;
204 *len = entry.last - iova + 1;
218 return addr + iova - entry.start;
222 ioctl. The kick eventfd is used by VDUSE kernel module to notify userspace to