Add new fields to io_sqring_offsets & io_cqring_offsets
`user_addr`s were introduced in `03d89a2` ([github link](03d89a2de2) which was shipped in v6.5
`flags` was introduced even earlier
This commit is contained in:
committed by
Andrew Kelley
parent
37398ed2a5
commit
d1e39b6914
@@ -3750,7 +3750,7 @@ pub const io_sqring_offsets = extern struct {
|
||||
array: u32,
|
||||
|
||||
resv1: u32,
|
||||
resv2: u64,
|
||||
user_addr: u64,
|
||||
};
|
||||
|
||||
// io_sqring_offsets.flags
|
||||
@@ -3769,7 +3769,9 @@ pub const io_cqring_offsets = extern struct {
|
||||
ring_entries: u32,
|
||||
overflow: u32,
|
||||
cqes: u32,
|
||||
resv: [2]u64,
|
||||
flags: u32,
|
||||
resv: u32,
|
||||
user_addr: u64,
|
||||
};
|
||||
|
||||
pub const io_uring_sqe = extern struct {
|
||||
|
||||
Reference in New Issue
Block a user