vsock icon indicating copy to clipboard operation
vsock copied to clipboard

vsock: implement ListenDatagram and DialDatagram

Open mdlayher opened this issue 8 years ago • 10 comments

Add the connectionless counterparts alongside the existing connection-oriented API.

mdlayher avatar Mar 09 '17 23:03 mdlayher

Hey @stefanha, have the datagram sockets been implemented yet? Last I was aware, I don't think they were available.

mdlayher avatar Nov 23 '17 17:11 mdlayher

On Thu, Nov 23, 2017 at 5:23 PM, Matt Layher [email protected] wrote:

Hey @stefanha https://github.com/stefanha, have the datagram sockets been implemented yet? Last I was aware, I don't think they were available.

SOCK_DGRAM is not available yet. There is currently no work in this area.

Stefan

stefanha avatar Nov 23 '17 18:11 stefanha

There may be some work on this now: https://lwn.net/Articles/859271/.

mdlayher avatar Feb 04 '22 21:02 mdlayher

SOCK_SEQPACKET and SOCK_DGRAM are on the way but not 100% finished yet. @stefano-garzarella

stefanha avatar Feb 05 '22 07:02 stefanha

SOCK_SEQPACKET and SOCK_DGRAM are on the way but not 100% finished yet. @stefano-garzarella

Yep, SOCK_SEQPACKET is almost done. It is also merged in virtio-spec 1.2 and supported starting from Linux v5.14 and QEMU v6.1.

For SOCK_DGRAM, Jiang is still working on it. It hasn't landed upstream yet.

stefano-garzarella avatar Feb 05 '22 10:02 stefano-garzarella

Thank you both for the updates!

mdlayher avatar Feb 05 '22 12:02 mdlayher

For SOCK_DGRAM, Jiang is still working on it. It hasn't landed upstream yet.

Hey @stefano-garzarella, is there any update on this? AFAICT, there was some LKML activity back in June 2023 and I assume the patch set hasn't landed yet? Thanks!

NullHypothesis avatar Dec 31 '23 17:12 NullHypothesis

For SOCK_DGRAM, Jiang is still working on it. It hasn't landed upstream yet.

Hey @stefano-garzarella, is there any update on this? AFAICT, there was some LKML activity back in June 2023 and I assume the patch set hasn't landed yet? Thanks!

Yep, the patches are not landed yet. AFAIK @beshleman and his colleagues in ByteDance are working on that.

stefano-garzarella avatar Jan 02 '24 09:01 stefano-garzarella

This is true. We should see new spec/code patches out very soon (this or next month I think).

beshleman avatar Jan 02 '24 17:01 beshleman

Excellent news! Happy to incorporate dgram mode as appropriate once the kernel APIs are ready to go.

mdlayher avatar Jan 03 '24 19:01 mdlayher