[PATCH net-next v1 0/4] vsock/virtio/vhost: MSG_ZEROCOPY preparations

From: Arseniy Krasnov
Date: Mon Jul 17 2023 - 17:06:33 EST


Hello,

this patchset is first of three parts of another big patchset for
MSG_ZEROCOPY flag support:
https://lore.kernel.org/netdev/20230701063947.3422088-1-AVKrasnov@xxxxxxxxxxxxxx/

During review of this series, Stefano Garzarella <sgarzare@xxxxxxxxxx>
suggested to split it for three parts to simplify review and merging:

1) virtio and vhost updates (for fragged skbs) <--- this patchset
2) AF_VSOCK updates (allows to enable MSG_ZEROCOPY mode and read
tx completions) and update for Documentation/.
3) Updates for tests and utils.

This series enables handling of fragged skbs in virtio and vhost parts.
Newly logic won't be triggered, because SO_ZEROCOPY options is still
impossible to enable at this moment (next bunch of patches from big
set above will enable it).

I've included changelog to some patches anyway, because there were some
comments during review of last big patchset from the link above.

Head for this patchset is 60cc1f7d0605598b47ee3c0c2b4b6fbd4da50a06

Arseniy Krasnov (4):
vsock/virtio/vhost: read data from non-linear skb
vsock/virtio: support to send non-linear skb
vsock/virtio: non-linear skb handling for tap
vsock/virtio: MSG_ZEROCOPY flag support

drivers/vhost/vsock.c | 14 +-
include/linux/virtio_vsock.h | 1 +
net/vmw_vsock/virtio_transport.c | 40 ++-
net/vmw_vsock/virtio_transport_common.c | 310 ++++++++++++++++++------
4 files changed, 283 insertions(+), 82 deletions(-)

--
2.25.1