mirror of
https://github.com/ii64/gouring.git
synced 2024-11-22 15:06:42 +01:00
all: fix IoUringCqe layout
Signed-off-by: Nugraha <richiisei@gmail.com>
This commit is contained in:
parent
d28b913247
commit
5e137b98fb
1 changed files with 2 additions and 1 deletions
3
hdr.go
3
hdr.go
|
@ -327,7 +327,8 @@ type IoUringCqe struct {
|
||||||
* contains 16-bytes of padding, doubling the size of the CQE.
|
* contains 16-bytes of padding, doubling the size of the CQE.
|
||||||
*/
|
*/
|
||||||
// __u64 big_cqe[];
|
// __u64 big_cqe[];
|
||||||
BigCqe *uint64 // ptr arith
|
|
||||||
|
// 8+4+4 == 16 , correct
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue