Skip to content

Difference between IORING_OP_SENDMSG_ZC and MSG_ZEROCOPY #703

Answered by metze-samba
davidzeng0 asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@davidzeng0
Comment options

Answer selected by davidzeng0
Comment options

You must be logged in to vote
6 replies
@optimistyzy
Comment options

@metze-samba
Comment options

@isilence
Comment options

isilence Nov 9, 2022
Collaborator

@isilence
Comment options

isilence Nov 9, 2022
Collaborator

@optimistyzy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants