Difference between IORING_OP_SENDMSG_ZC and MSG_ZEROCOPY #703
-
What's the difference between IORING_OP_SENDMSG_ZC and MSG_ZEROCOPY? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
It just provides a much saner api, as the notification to allow the buffers to be reused comes as CQE with IORING_CQE_F_NOTIF. |
Beta Was this translation helpful? Give feedback.
-
Right, they share the same idea, but
There is some documentation (need to be extended though) |
Beta Was this translation helpful? Give feedback.
It just provides a much saner api, as the notification to allow the buffers to be reused comes as CQE with IORING_CQE_F_NOTIF.
You don't need to use poll for EPOLLERR and use recvmsg(MSG_ERRQUEUE) to get the result