Re: [PATCH 0/5] virtio/vsock: introduce SOCK_SEQPACKET support.

2021-01-08 Thread Stefano Garzarella
Hi Arseny, On Sun, Jan 03, 2021 at 10:54:52PM +0300, Arseny Krasnov wrote: As SOCK_SEQPACKET guarantees to save record boundaries, so to do it, new packet operation was added: it marks start of record (with record length in header). To send record, packet with start marker is sent first,

Re: [PATCH 0/5] virtio/vsock: introduce SOCK_SEQPACKET support.

2021-01-06 Thread Arseny Krasnov
> Hi Arseny, thanks for your work on this! > I did a small review in a hope it helps. > Also it may be cool to have the driver feature > for that (so that the host can see if its supported). > But I guess this was already said by Michael. :) Hello, thank You for your review, i'll prepare v2 as soo

Re: [PATCH 0/5] virtio/vsock: introduce SOCK_SEQPACKET support.

2021-01-03 Thread stsp
Hi Arseny, thanks for your work on this! I did a small review in a hope it helps. Also it may be cool to have the driver feature for that (so that the host can see if its supported). But I guess this was already said by Michael. :) 03.01.2021 22:54, Arseny Krasnov пишет: As SOCK_SEQPACK

[PATCH 0/5] virtio/vsock: introduce SOCK_SEQPACKET support.

2021-01-03 Thread Arseny Krasnov
As SOCK_SEQPACKET guarantees to save record boundaries, so to do it, new packet operation was added: it marks start of record (with record length in header). To send record, packet with start marker is sent first, then all data is transmitted as 'RW' packets. On receiver's side, length of r