mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v3 00/12] vsock/virtio: continue MSG_ZEROCOPY support
@ 2023-10-07 17:21 Arseniy Krasnov
  2023-10-07 17:21 ` [PATCH net-next v3 01/12] vsock: set EPOLLERR on non-empty error queue Arseniy Krasnov
                   ` (11 more replies)
  0 siblings, 12 replies; 21+ messages in thread
From: Arseniy Krasnov @ 2023-10-07 17:21 UTC (permalink / raw)
  To: Stefan Hajnoczi, Stefano Garzarella, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Michael S. Tsirkin,
	Jason Wang, Bobby Eshleman
  Cc: kvm, virtualization, netdev, linux-kernel, kernel, oxffffaa, avkrasnov

Hello,

this patchset contains second and third parts of another big patchset
for MSG_ZEROCOPY flag support:
https://lore.kernel.org/netdev/20230701063947.3422088-1-AVKrasnov@sberdevices.ru/

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

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

Part 1) was merged:
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=71b263e79370348349553ecdf46f4a69eb436dc7

Head for this patchset is:
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=91e43ca0090b5fd59302c3d150835299785f30ea

Link to v1:
https://lore.kernel.org/netdev/20230922052428.4005676-1-avkrasnov@salutedevices.com/
Link to v2:
https://lore.kernel.org/netdev/20230930210308.2394919-1-avkrasnov@salutedevices.com/

Changelog:                                                              
 v1 -> v2:                                                              
 * Patchset rebased and tested on new HEAD of net-next (see hash above).
 * See per-patch changelog after ---. 
 v2 -> v3:                                                              
 * Patchset rebased and tested on new HEAD of net-next (see hash above).
 * See per-patch changelog after ---. 

Arseniy Krasnov (12):
  vsock: set EPOLLERR on non-empty error queue
  vsock: read from socket's error queue
  vsock: check for MSG_ZEROCOPY support on send
  vsock: enable SOCK_SUPPORT_ZC bit
  vhost/vsock: support MSG_ZEROCOPY for transport
  vsock/virtio: support MSG_ZEROCOPY for transport
  vsock/loopback: support MSG_ZEROCOPY for transport
  vsock: enable setting SO_ZEROCOPY
  docs: net: description of MSG_ZEROCOPY for AF_VSOCK
  test/vsock: MSG_ZEROCOPY flag tests
  test/vsock: MSG_ZEROCOPY support for vsock_perf
  test/vsock: io_uring rx/tx tests

 Documentation/networking/msg_zerocopy.rst |  13 +-
 drivers/vhost/vsock.c                     |   7 +
 include/linux/socket.h                    |   1 +
 include/net/af_vsock.h                    |   7 +
 include/uapi/linux/vm_sockets.h           |  12 +
 net/vmw_vsock/af_vsock.c                  |  63 +++-
 net/vmw_vsock/virtio_transport.c          |   7 +
 net/vmw_vsock/vsock_loopback.c            |   6 +
 tools/testing/vsock/.gitignore            |   1 +
 tools/testing/vsock/Makefile              |   9 +-
 tools/testing/vsock/msg_zerocopy_common.h |  92 ++++++
 tools/testing/vsock/util.c                | 110 +++++++
 tools/testing/vsock/util.h                |   5 +
 tools/testing/vsock/vsock_perf.c          |  80 ++++-
 tools/testing/vsock/vsock_test.c          |  16 +
 tools/testing/vsock/vsock_test_zerocopy.c | 367 ++++++++++++++++++++++
 tools/testing/vsock/vsock_test_zerocopy.h |  15 +
 tools/testing/vsock/vsock_uring_test.c    | 350 +++++++++++++++++++++
 18 files changed, 1145 insertions(+), 16 deletions(-)
 create mode 100644 tools/testing/vsock/msg_zerocopy_common.h
 create mode 100644 tools/testing/vsock/vsock_test_zerocopy.c
 create mode 100644 tools/testing/vsock/vsock_test_zerocopy.h
 create mode 100644 tools/testing/vsock/vsock_uring_test.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2023-10-10  7:21 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-07 17:21 [PATCH net-next v3 00/12] vsock/virtio: continue MSG_ZEROCOPY support Arseniy Krasnov
2023-10-07 17:21 ` [PATCH net-next v3 01/12] vsock: set EPOLLERR on non-empty error queue Arseniy Krasnov
2023-10-07 17:21 ` [PATCH net-next v3 02/12] vsock: read from socket's " Arseniy Krasnov
2023-10-09 15:16   ` Stefano Garzarella
2023-10-07 17:21 ` [PATCH net-next v3 03/12] vsock: check for MSG_ZEROCOPY support on send Arseniy Krasnov
2023-10-07 17:21 ` [PATCH net-next v3 04/12] vsock: enable SOCK_SUPPORT_ZC bit Arseniy Krasnov
2023-10-07 17:21 ` [PATCH net-next v3 05/12] vhost/vsock: support MSG_ZEROCOPY for transport Arseniy Krasnov
2023-10-07 17:21 ` [PATCH net-next v3 06/12] vsock/virtio: " Arseniy Krasnov
2023-10-07 17:21 ` [PATCH net-next v3 07/12] vsock/loopback: " Arseniy Krasnov
2023-10-07 17:21 ` [PATCH net-next v3 08/12] vsock: enable setting SO_ZEROCOPY Arseniy Krasnov
2023-10-07 17:21 ` [PATCH net-next v3 09/12] docs: net: description of MSG_ZEROCOPY for AF_VSOCK Arseniy Krasnov
2023-10-07 17:21 ` [PATCH net-next v3 10/12] test/vsock: MSG_ZEROCOPY flag tests Arseniy Krasnov
2023-10-09 15:17   ` Stefano Garzarella
2023-10-09 20:24     ` Arseniy Krasnov
2023-10-10  7:19       ` Stefano Garzarella
2023-10-10  7:13         ` Arseniy Krasnov
2023-10-07 17:21 ` [PATCH net-next v3 11/12] test/vsock: MSG_ZEROCOPY support for vsock_perf Arseniy Krasnov
2023-10-09 15:17   ` Stefano Garzarella
2023-10-07 17:21 ` [PATCH net-next v3 12/12] test/vsock: io_uring rx/tx tests Arseniy Krasnov
2023-10-09 15:16   ` Stefano Garzarella
2023-10-09 19:22     ` Arseniy Krasnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®