From: Ammar Faizi <[email protected]>
To: Jens Axboe <[email protected]>
Cc: io-uring Mailing List <[email protected]>,
Pavel Begunkov <[email protected]>,
"David S . Miller" <[email protected]>,
Jakub Kicinski <[email protected]>,
[email protected], [email protected],
Ammar Faizi <[email protected]>, Nugra <[email protected]>
Subject: [RFC PATCH liburing v1 0/5] liburing: Add sendto(2) and recvfrom(2) support
Date: Fri, 31 Dec 2021 00:50:14 +0700 [thread overview]
Message-ID: <[email protected]> (raw)
Hello,
I submitted an RFC patchset to add sendto(2) and recvfrom(2) support
for io_uring. This RFC patchset adds the support for the liburing.
There are 5 patches in this series. 4 from me. 1 from Nugra.
For PATCH 1/5, it is just a .gitignore clean up.
## Changes Summary
- Update io_uring.h header (sync with the kernel).
- Add `io_uring_prep_{sendto,sendto}` functions.
- Add test program for `IORING_OP_SENDTO` and `IORING_OP_RECVFROM`.
- Add documentation for `io_uring_prep_{sendto,sendto}` functions.
## How to test
This patchset is based on branch "xattr-getdents64" commit:
18d71076f6c97e1b25aa0e3b0e12a913ec4717fa ("src/include/liburing.h: style cleanups")
Signed-off-by: Nugra <[email protected]>
Signed-off-by: Ammar Faizi <[email protected]>
---
Ammar Faizi (4):
.gitignore: Add `/test/xattr` and `/test/getdents`
io_uring.h: Add `IORING_OP_SENDTO` and `IORING_OP_RECVFROM`
liburing.h: Add `io_uring_prep_{sendto,sendto}` helper
test: Add sendto_recvfrom test program
Nugra (1):
man: Add `io_uring_prep_{sendto,recvfrom}` docs
.gitignore | 3 +
man/io_uring_prep_recvfrom.3 | 33 +++
man/io_uring_prep_sendto.3 | 34 +++
src/include/liburing.h | 22 ++
src/include/liburing/io_uring.h | 2 +
test/Makefile | 2 +
test/sendto_recvfrom.c | 384 ++++++++++++++++++++++++++++++++
7 files changed, 480 insertions(+)
create mode 100644 man/io_uring_prep_recvfrom.3
create mode 100644 man/io_uring_prep_sendto.3
create mode 100644 test/sendto_recvfrom.c
base-commit: 18d71076f6c97e1b25aa0e3b0e12a913ec4717fa
--
2.32.0
next reply other threads:[~2021-12-30 17:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-30 17:50 Ammar Faizi [this message]
2021-12-30 17:50 ` [RFC PATCH liburing v1 1/5] .gitignore: Add `/test/xattr` and `/test/getdents` Ammar Faizi
2021-12-30 17:50 ` [RFC PATCH liburing v1 2/5] io_uring.h: Add `IORING_OP_SENDTO` and `IORING_OP_RECVFROM` Ammar Faizi
2021-12-30 17:50 ` [RFC PATCH liburing v1 3/5] liburing.h: Add `io_uring_prep_{sendto,sendto}` helper Ammar Faizi
2021-12-30 17:50 ` [RFC PATCH liburing v1 4/5] test: Add sendto_recvfrom test program Ammar Faizi
2021-12-30 17:50 ` [RFC PATCH liburing v1 5/5] man: Add `io_uring_prep_{sendto,recvfrom}` docs Ammar Faizi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox