summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2019-07-30 18:43:31 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-31 01:00:00 +0300
commitb89d882dc9fc279c8acbf1df71d51b22394186d5 (patch)
tree7e359817fe62901df3e5c1d8e58504ecf7f8ae44 /init
parent473c7391ce731adb482c03e420964676ed8b494d (diff)
downloadlinux-b89d882dc9fc279c8acbf1df71d51b22394186d5.tar.xz
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions