-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Hello, I see that in this repo the size of the cq ring is using uint32Size instead of the CompletionQueueEntry's size. For reference, in liburing they use CompletionQueueEntry.
Your code
Line 77 in b1dc8dd
| cq.size = params.CQOffset.Cqes + params.CQEntries*uint32Size |
liburing:
https://github.com/axboe/liburing/blob/a71d56ef3259216739677473ddb17ad861c3a964/src/setup.c#L29
size = sizeof(struct io_uring_cqe);
...
cq->ring_sz = p->cq_off.cqes + p->cq_entries * size;Metadata
Metadata
Assignees
Labels
No labels