io-uring.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Support for recvmmsg / sendmmsg
@ 2020-09-24 19:20 Norman Maurer
  0 siblings, 0 replies; only message in thread
From: Norman Maurer @ 2020-09-24 19:20 UTC (permalink / raw)
  To: io-uring

Hi there,

I am currently working on support for Datagrams in Netty using io_uring. One of the things that I noticed is that there is no recvmmsg / sendmmsg atm. You can argue that this may not be needed as I can jus submit multiple IORING_OP_* operations and so emulate it. While this is mostly true it would be still nice to have support for these calls because of:

* Issuing multiple IORING_OP_SENDMSG / RECVMSG is not the same as just issue one of them as I need to call io_uring_enter(…) earlier to ensure I not “overflow” the submission queue.
* Having multiple IORING_OP_SENDMSG / RECVMSG makes it more complicated in terms of keeping state in some cases

So would it be possible to add these ? For now I have implemented my own “batching” but its a way more complicated as I would love to :/

Thanks
Norman


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-24 19:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24 19:20 Support for recvmmsg / sendmmsg Norman Maurer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).