Re: [RFC PATCH net-next v6 14/14] test/vsock: add vsock dgram tests

2024-07-23 Thread Stefano Garzarella
On Wed, Jul 10, 2024 at 09:25:55PM GMT, Amery Hung wrote: From: Bobby Eshleman From: Jiang Wang This commit adds tests for vsock datagram. Signed-off-by: Bobby Eshleman Signed-off-by: Jiang Wang Signed-off-by: Amery Hung --- tools/testing/vsock/util.c | 177 - tools/testing/vsoc

Re: [RFC PATCH net-next v6 09/14] virtio/vsock: add common datagram recv path

2024-07-23 Thread Stefano Garzarella
On Wed, Jul 10, 2024 at 09:25:50PM GMT, Amery Hung wrote: From: Bobby Eshleman This commit adds the common datagram receive functionality for virtio transports. It does not add the vhost/virtio users of that functionality. This functionality includes: - changes to the virtio_transport_recv_pkt

Re: [RFC PATCH net-next v6 07/14] virtio/vsock: add common datagram send path

2024-07-23 Thread Stefano Garzarella
On Wed, Jul 10, 2024 at 09:25:48PM GMT, Amery Hung wrote: From: Bobby Eshleman This commit implements the common function virtio_transport_dgram_enqueue for enqueueing datagrams. It does not add usage in either vhost or virtio yet. Signed-off-by: Bobby Eshleman Signed-off-by: Amery Hung ---

Re: [RFC PATCH net-next v6 05/14] af_vsock: use a separate dgram bind table

2024-07-23 Thread Stefano Garzarella
On Wed, Jul 10, 2024 at 09:25:46PM GMT, Amery Hung wrote: From: Bobby Eshleman This commit adds support for bound dgram sockets to be tracked in a separate bind table from connectible sockets in order to avoid address collisions. With this commit, users can simultaneously bind a dgram socket an

Re: [RFC PATCH net-next v6 04/14] af_vsock: generalize bind table functions

2024-07-23 Thread Stefano Garzarella
On Wed, Jul 10, 2024 at 09:25:45PM GMT, Amery Hung wrote: >From: Bobby Eshleman > >This commit makes the bind table management functions in vsock usable >for different bind tables. Future work will introduce a new table for >datagrams to avoid address collisions, and these functions will be used >

Re: [RFC PATCH net-next v6 00/14] virtio/vsock: support datagrams

2024-07-23 Thread Stefano Garzarella
Hi Amery, On Wed, Jul 10, 2024 at 09:25:41PM GMT, Amery Hung wrote: Hey all! This series introduces support for datagrams to virtio/vsock. It is a spin-off (and smaller version) of this series from the summer: https://lore.kernel.org/all/cover.1660362668.git.bobby.eshle...@bytedance.com/ Co