Skip to main content

submit

Function submit 

Source
pub fn submit(
    process: &Process,
    ring_id: u64,
    opcode: u8,
    handle: u64,
    addr: u64,
    len: u32,
    user_data: u64,
) -> Result<Submitted, i32>
Expand description

Submit one IPC v2 SQE (AsyncOp 13–17) for ring_id.

handle = SQE off, addr = SQE addr, len = SQE len (must equal the descriptor size, which versions it). Errors are returned as -errno for the dispatcher to post.