all: fix IoUringCqe layout

Signed-off-by: Nugraha <richiisei@gmail.com>
This commit is contained in:
Xeffy Chen 2022-07-07 08:22:19 +07:00
parent d28b913247
commit 5e137b98fb
Signed by: Xeffy
GPG key ID: E41C08AD390E7C49

3
hdr.go
View file

@ -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
} }
/* /*