Thread (37 messages) 37 messages, 3 authors, 2021-10-26

RE: [PATCH linux-next v4 1/8] vdpa: Introduce and use vdpa device get, set config helpers

From: Parav Pandit via Virtualization <hidden>
Date: 2021-10-25 11:25:03

From: Jason Wang <jasowang@redhat.com>
Sent: Monday, October 25, 2021 11:33 AM

在 2021/10/22 上午12:35, Parav Pandit 写道:
quoted
Subsequent patches enable get and set configuration either via
management device or via vdpa device' config ops.

This requires synchronization between multiple callers to get and set
config callbacks. Features setting also influence the layout of the
configuration fields endianness.

To avoid exposing synchronization primitives to callers, introduce
helper for setting the configuration and use it.

Signed-off-by: Parav Pandit <redacted>
Reviewed-by: Eli Cohen <redacted>
Acked-by: Jason Wang <jasowang@redhat.com>
---
  drivers/vdpa/vdpa.c  | 36 ++++++++++++++++++++++++++++++++++++
  drivers/vhost/vdpa.c |  3 +--
  include/linux/vdpa.h | 19 ++++---------------

Do we need to change virtio_vdpa_set() as well?
Yes. Sending v5.
Thanks.
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help