On Thu, Mar 30, 2023 at 03:02:21PM +0200, Simon Horman wrote:
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@xxxxxxxxxx>
...
+/**
+ * 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/
Oops, good catch!
Copy & past typos also present in the documentation of vringh_init_kern
and vringh_init_iotlb.
I will fix this patch and send a separate patch to fix the other two.
Thanks,
Stefano