Thread (13 messages) 13 messages, 3 authors, 2023-03-31

Re: [PATCH v4 5/9] vringh: support VA with iotlb

flat view

From: Simon Horman <hidden>
Date: 2023-03-30 13:02:50
Also in: kvm, lkml

On Fri, Mar 24, 2023 at 04:39:19PM +0100, Stefano Garzarella wrote:
vDPA supports the possibility to use user VA in the iotlb messages.
So, let's add support for user VA in vringh to use it in the vDPA
simulators.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
...
quoted hunk ↗ jump to hunk
+/**
+ * vringh_init_iotlb_va - initialize a vringh for a ring with IOTLB containing
+ *                        user VA.
+ * @vrh: the vringh to initialize.
+ * @features: the feature bits for this ring.
+ * @num: the number of elements.
+ * @weak_barriers: true if we only need memory barriers, not I/O.
+ * @desc: the userpace descriptor pointer.
+ * @avail: the userpace avail pointer.
+ * @used: the userpace used pointer.
nit: s/userpace/userspace/

...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help