Hi Pavel,
Ala a IORING_SEND_* flag? Yes please.
*_REPORT_USAGE was fine but I'd make it IORING_SEND_ZC_REPORT_USAGE.
And can be extended if there is more info needed in the future.
And I don't mind using a bit in cqe->res, makes cflags less polluted.
So no worries about the delayed/skip sendmsg completion anymore?
Should I define it like this, ok?
#define IORING_NOTIF_USAGE_ZC_COPIED (1U << 31)
See the full patch below...
Apart from still having IORING_SEND_NOTIF_REPORT_USAGE
in the comment... (which I'll fix...)
Is this now fine for you? Then I would post a real patch.
Thanks!
metze