-
I am trying to understand how to make best use of the new-ish bundle feature. I have three questions which I am having a hard time figuring out answers for from the documentation and example/test code. Buffer ring updates?io_uring_prep_send(3) states that a bundle send "keeps sending from that buffer group until it runs out of buffers.", but does this imply that more buffers can be added while the send is in flight? "done" buffersio_uring_prep_send(3) states that "A single CQE is posted for the send", yet zero copyis there an option to use zero copy also with send bundles? Thank you, Nils |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This ties in with the
then another attempt will be made. When this happens. I think this explains both your questions? For zero-copy, currently no way to use them with bundles. That could be added, just haven't been done yet. Would be useful... |
Beta Was this translation helpful? Give feedback.
This ties in with the
IORING_CQE_F_MORE
as well. When bundle is set, if:then another attempt will be made. When this happens.
IORING_CQE_F_MORE
will be set in the posted CQE, as another attempt at sending will be made. This is identical to other kinds of multishot requests, if more CQEs are expected for this request, then the MORE flag will be set. However, a send bundle isn't persistent in the sense that it stays around a…