Re: [PATCH v4 2/5] vsock/virtio: reduce credit update messages

2019-09-03 Thread Michael S. Tsirkin
On Tue, Sep 03, 2019 at 09:31:20AM +0200, Stefano Garzarella wrote: > On Tue, Sep 03, 2019 at 12:38:02AM -0400, Michael S. Tsirkin wrote: > > On Wed, Jul 17, 2019 at 01:30:27PM +0200, Stefano Garzarella wrote: > > > In order to reduce the number of credit update messages, > > > we send them only wh

Re: [PATCH v4 2/5] vsock/virtio: reduce credit update messages

2019-09-03 Thread Stefano Garzarella
On Tue, Sep 03, 2019 at 12:38:02AM -0400, Michael S. Tsirkin wrote: > On Wed, Jul 17, 2019 at 01:30:27PM +0200, Stefano Garzarella wrote: > > In order to reduce the number of credit update messages, > > we send them only when the space available seen by the > > transmitter is less than VIRTIO_VSOCK

Re: [PATCH v4 2/5] vsock/virtio: reduce credit update messages

2019-09-02 Thread Michael S. Tsirkin
On Wed, Jul 17, 2019 at 01:30:27PM +0200, Stefano Garzarella wrote: > In order to reduce the number of credit update messages, > we send them only when the space available seen by the > transmitter is less than VIRTIO_VSOCK_MAX_PKT_BUF_SIZE. > > Signed-off-by: Stefano Garzarella > --- > include/

Re: [PATCH v4 2/5] vsock/virtio: reduce credit update messages

2019-07-22 Thread Stefan Hajnoczi
On Wed, Jul 17, 2019 at 01:30:27PM +0200, Stefano Garzarella wrote: > In order to reduce the number of credit update messages, > we send them only when the space available seen by the > transmitter is less than VIRTIO_VSOCK_MAX_PKT_BUF_SIZE. > > Signed-off-by: Stefano Garzarella > --- > include/

[PATCH v4 2/5] vsock/virtio: reduce credit update messages

2019-07-17 Thread Stefano Garzarella
In order to reduce the number of credit update messages, we send them only when the space available seen by the transmitter is less than VIRTIO_VSOCK_MAX_PKT_BUF_SIZE. Signed-off-by: Stefano Garzarella --- include/linux/virtio_vsock.h| 1 + net/vmw_vsock/virtio_transport_common.c |