commit | b89d882dc9fc279c8acbf1df71d51b22394186d5 | [log] [tgz] |
---|---|---|
author | Stefano Garzarella <sgarzare@redhat.com> | Tue Jul 30 17:43:31 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 30 15:00:00 2019 -0700 |
tree | 7e359817fe62901df3e5c1d8e58504ecf7f8ae44 | |
parent | 473c7391ce731adb482c03e420964676ed8b494d [diff] |
vsock/virtio: reduce credit update messages 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 <sgarzare@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>