Skip to content

zerocopy send headers and tests

Pavel Begunkov io-uring 2 versions Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 4 repliesApplied
  2. v14 patches 9 repliesSuperseded

Changes in v2 from the cover letter

use T_EXIT_*
fix ptr <-> int conversions for 32 bits arches slight renaming
get rid of error() in the test
add patch 5/5

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5io_uring.h: sync with kernel for zc send and notifierssrc/include/liburing/io_uring.h+35 -20 replies
2/5liburing: add zc send and notif helperssrc/include/liburing.h src/liburing.map src/register.c+64 -01 reply
3/5tests: add tests for zerocopy send and notificationstest/Makefile test/send-zerocopy.c+889 -00 replies
4/5examples: add a zerocopy send exampleexamples/Makefile examples/send-zerocopy.c+368 -10 replies
5/5liburing: improve fallocate typecastingsrc/include/liburing.h+2 -31 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchAmmar Faizi
1/5
2/5R-b
3/5
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH liburing v2 0/5] zerocopy send headers and tests

Add zerocopy send headers, helpers and tests

v2:
use T_EXIT_*
fix ptr <-> int conversions for 32 bits arches slight renaming
get rid of error() in the test
add patch 5/5

Pavel Begunkov (5):
io_uring.h: sync with kernel for zc send and notifiers
liburing: add zc send and notif helpers
tests: add tests for zerocopy send and notifications
examples: add a zerocopy send example
liburing: improve fallocate typecasting

 examples/Makefile               |   3 +-
 examples/send-zerocopy.c        | 366 +++++++++++++
 src/include/liburing.h          |  47 +-
 src/include/liburing/io_uring.h |  37 +-
 src/liburing.map                |   2 +
 src/register.c                  |  20 +
 test/Makefile                   |   1 +
 test/send-zerocopy.c            | 888 ++++++++++++++++++++++++++++++++
 8 files changed, 1358 insertions(+), 6 deletions(-)
 create mode 100644 examples/send-zerocopy.c
 create mode 100644 test/send-zerocopy.c
Signature · 1 line
2.37.0