mbox series

[liburing,0/4] zerocopy send headers and tests

Message ID cover.1658743360.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series zerocopy send headers and tests | expand

Message

Pavel Begunkov July 25, 2022, 10:03 a.m. UTC
Add zerocopy send headers, helpers and tests

Pavel Begunkov (4):
  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

 examples/Makefile               |   3 +-
 examples/send-zerocopy.c        | 366 +++++++++++++
 src/include/liburing.h          |  41 ++
 src/include/liburing/io_uring.h |  37 +-
 src/liburing.map                |   2 +
 src/register.c                  |  20 +
 test/Makefile                   |   1 +
 test/send-zcopy.c               | 879 ++++++++++++++++++++++++++++++++
 8 files changed, 1346 insertions(+), 3 deletions(-)
 create mode 100644 examples/send-zerocopy.c
 create mode 100644 test/send-zcopy.c