Re: [PATCH 0/3] Add REQ_F_CQE_SKIP support to io_uring zerocopy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/4/24 23:16, Oliver Crumrine wrote:
This patchset allows for io_uring zerocopy to support REQ_F_CQE_SKIP,
skipping the normal completion notification, but not the zerocopy buffer
release notification.

It's an io_uring internal change not altering how it operates
with the net layer, you don't need to CC the net list.

This patchset also includes a test to test these changes, and a patch to
mini_liburing to enable io_uring_peek_cqe, which is needed for the test.

For the same reason tests should be in liburing, where all io_uring tests
are, and the selftest can be dropped. See liburing/test/send-zerocopy.c


Oliver Crumrine (3):
   io_uring: Add REQ_F_CQE_SKIP support for io_uring zerocopy
   io_uring: Add io_uring_peek_cqe to mini_liburing
   io_uring: Support IOSQE_CQE_SKIP_SUCCESS in io_uring zerocopy test

  io_uring/net.c                                |  6 +--
  tools/include/io_uring/mini_liburing.h        | 18 +++++++++
  .../selftests/net/io_uring_zerocopy_tx.c      | 37 +++++++++++++++++--
  .../selftests/net/io_uring_zerocopy_tx.sh     |  7 +++-
  4 files changed, 59 insertions(+), 10 deletions(-)


--
Pavel Begunkov




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux