Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vsock: implement ListenDatagram and DialDatagram #2

Open
mdlayher opened this issue Mar 9, 2017 · 10 comments
Open

vsock: implement ListenDatagram and DialDatagram #2

mdlayher opened this issue Mar 9, 2017 · 10 comments

Comments

@mdlayher
Copy link
Owner

mdlayher commented Mar 9, 2017

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

@mdlayher
Copy link
Owner Author

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

@stefanha
Copy link

stefanha commented Nov 23, 2017 via email

@mdlayher
Copy link
Owner Author

mdlayher commented Feb 4, 2022

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

@stefanha
Copy link

stefanha commented Feb 5, 2022

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

@stefano-garzarella
Copy link

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.

@mdlayher
Copy link
Owner Author

mdlayher commented Feb 5, 2022

Thank you both for the updates!

@NullHypothesis
Copy link

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!

@stefano-garzarella
Copy link

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.

@beshleman
Copy link

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

@mdlayher
Copy link
Owner Author

mdlayher commented Jan 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants