From 5e137b98fbe5f971884dc8fe445cd061a062e039 Mon Sep 17 00:00:00 2001 From: Nugraha Date: Thu, 7 Jul 2022 08:22:19 +0700 Subject: [PATCH] all: fix IoUringCqe layout Signed-off-by: Nugraha --- hdr.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hdr.go b/hdr.go index 891cfb8..279c613 100644 --- a/hdr.go +++ b/hdr.go @@ -327,7 +327,8 @@ type IoUringCqe struct { * contains 16-bytes of padding, doubling the size of the CQE. */ // __u64 big_cqe[]; - BigCqe *uint64 // ptr arith + + // 8+4+4 == 16 , correct } /*