* sendto(), recvfrom()
@ 2020-06-26 20:47 Nathan Ringo
2020-06-26 20:48 ` Jens Axboe
2020-06-26 21:08 ` Jann Horn
0 siblings, 2 replies; 4+ messages in thread
From: Nathan Ringo @ 2020-06-26 20:47 UTC (permalink / raw)
To: [email protected]
Would adding IORING_OP_{SENDTO,RECVFROM} be a reasonable first kernel
contribution? I'd like to write a program with io_uring that's listening
on a UDP socket, so recvfrom() at least is important to my use-case.
--
Nathan Ringo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sendto(), recvfrom()
2020-06-26 20:47 sendto(), recvfrom() Nathan Ringo
@ 2020-06-26 20:48 ` Jens Axboe
2020-06-26 21:08 ` Jann Horn
1 sibling, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2020-06-26 20:48 UTC (permalink / raw)
To: Nathan Ringo, [email protected]
On 6/26/20 2:47 PM, Nathan Ringo wrote:
> Would adding IORING_OP_{SENDTO,RECVFROM} be a reasonable first kernel
> contribution? I'd like to write a program with io_uring that's listening
> on a UDP socket, so recvfrom() at least is important to my use-case.
Certainly. When you hack it up, be sure to also provide a liburing
regression test case for test/ that tests the feature.
--
Jens Axboe
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sendto(), recvfrom()
2020-06-26 20:47 sendto(), recvfrom() Nathan Ringo
2020-06-26 20:48 ` Jens Axboe
@ 2020-06-26 21:08 ` Jann Horn
2020-06-26 21:23 ` Nathan Ringo
1 sibling, 1 reply; 4+ messages in thread
From: Jann Horn @ 2020-06-26 21:08 UTC (permalink / raw)
To: Nathan Ringo; +Cc: [email protected]
On Fri, Jun 26, 2020 at 10:47 PM Nathan Ringo <[email protected]> wrote:
> Would adding IORING_OP_{SENDTO,RECVFROM} be a reasonable first kernel
> contribution? I'd like to write a program with io_uring that's listening
> on a UDP socket, so recvfrom() at least is important to my use-case.
What is the benefit compared to IORING_OP_RECVMSG and
IORING_OP_SENDMSG, which already exist (and provide a superset of
sendto/recvfrom)?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-06-26 21:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-26 20:47 sendto(), recvfrom() Nathan Ringo
2020-06-26 20:48 ` Jens Axboe
2020-06-26 21:08 ` Jann Horn
2020-06-26 21:23 ` Nathan Ringo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox