linux-brain/drivers/vhost
Stefano Garzarella 4e846d399c vhost/vsock: split packets to send using multiple buffers
commit 6dbd3e66e7 upstream.

If the packets to sent to the guest are bigger than the buffer
available, we can split them, using multiple buffers and fixing
the length in the packet header.
This is safe since virtio-vsock supports only stream sockets.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-01 09:13:11 +01:00
..
Kconfig tap: tap as an independent module 2017-02-11 20:59:41 -05:00
Kconfig.vringh vhost: split out vringh Kconfig 2016-08-02 16:54:28 +03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
net.c vhost_net: disable zerocopy by default 2019-07-31 07:28:26 +02:00
scsi.c vhost: scsi: add weight support 2019-07-10 09:54:42 +02:00
test.c vhost/test: fix build for vhost test 2019-09-16 08:20:45 +02:00
test.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vhost.c vhost: make sure log_num < in_num 2019-09-16 08:20:46 +02:00
vhost.h vhost: introduce vhost_exceeds_weight() 2019-07-10 09:54:42 +02:00
vringh.c vringh: kill off ACCESS_ONCE() 2016-12-16 00:13:36 +02:00
vsock.c vhost/vsock: split packets to send using multiple buffers 2019-12-01 09:13:11 +01:00