Thread (51 messages) 51 messages, 5 authors, 2023-08-15

Re: [PATCH RFC net-next v5 10/14] virtio/vsock: add VIRTIO_VSOCK_F_DGRAM feature bit

From: Stefano Garzarella <sgarzare@redhat.com>
Date: 2023-07-27 07:55:00
Also in: bpf, kvm, linux-hyperv, lkml, virtualization

On Wed, Jul 26, 2023 at 02:38:08PM -0400, Michael S. Tsirkin wrote:
On Wed, Jul 19, 2023 at 12:50:14AM +0000, Bobby Eshleman wrote:
quoted
This commit adds a feature bit for virtio vsock to support datagrams.

Signed-off-by: Jiang Wang <redacted>
Signed-off-by: Bobby Eshleman <redacted>
---
 include/uapi/linux/virtio_vsock.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/virtio_vsock.h b/include/uapi/linux/virtio_vsock.h
index 331be28b1d30..27b4b2b8bf13 100644
--- a/include/uapi/linux/virtio_vsock.h
+++ b/include/uapi/linux/virtio_vsock.h
@@ -40,6 +40,7 @@

 /* The feature bitmap for virtio vsock */
 #define VIRTIO_VSOCK_F_SEQPACKET	1	/* SOCK_SEQPACKET supported */
+#define VIRTIO_VSOCK_F_DGRAM		3	/* SOCK_DGRAM supported */

 struct virtio_vsock_config {
 	__le64 guest_cid;
pls do not add interface without first getting it accepted in the
virtio spec.
Yep, fortunatelly this series is still RFC.
I think by now we've seen that the implementation is doable, so we
should discuss the changes to the specification ASAP. Then we can
merge the series.

@Bobby can you start the discussion about spec changes?

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