Skip to content

deduplicate send and senmsg zc issue handlers

Pavel Begunkov io-uring 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3io_uring/zctx: rename flags var for more clarityio_uring/net.c+6 -60 replies
2/3io_uring/zctx: move vec regbuf import into io_send_zc_importio_uring/net.c+25 -160 replies
3/3io_uring/zctx: unify zerocopy issue variantsio_uring/net.c io_uring/net.h io_uring/opdef.c+14 -750 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] deduplicate send and senmsg zc issue handlers

There is a bunch of code duplicated between send_zc and senmsg_zc, let's consolidate the functions.

Note: it's based on top of Dylan's patch removing buf/len accounting.

Pavel Begunkov (3):
io_uring/zctx: rename flags var for more clarity io_uring/zctx: move vec regbuf import into io_send_zc_import io_uring/zctx: unify zerocopy issue variants

 io_uring/net.c   | 125 ++++++++++++++---------------------------------
 io_uring/net.h   |   1 -
 io_uring/opdef.c |   2 +-
 3 files changed, 38 insertions(+), 90 deletions(-)
Signature · 1 line
2.52.0