Closed Sherlock-Holo closed 1 year ago
Would you point out clearer that what kind of operation will set this flag?
for example:
when use Recv
with buf_group to use provider buffers/register buffers, you should check the cqe flags to get the buffer id, that is the example (the example use Read
but Recv
is also use cqe flags to get buffer id)
the RecvMulti
must use provider buffers/register buffers, so you need to check the cqe flags too
We don't support pushing custom squeue::Entry
to the driver directly now, so the cases you mentioned is not practical.
This feature should be together with a PR which adds registered buffer support or *Multi opcode support.
@Sherlock-Holo Should this flag also be exposed to higher level results? Seems like currently we don’t have way to expose such flags.
adding registered buffer support or *Multi opcode support is more complicated than this, adding flags
field is the first step
A simple change without usage is unnecessary.
Will there be further update on this PR?
Suppressed by #102
add
flags
field forEntry
in io-uring, the cqe flags is meaningful, add this field can let driver use the flags
in IOCP or epoll, this flags can be simply set to 0