extern struct TestRunAttr [src]

struct used by Cmd.prog_test_run command

Fields

prog_fd: fd_t
retval: u32
data_size_in: u32input: len of data_in
data_size_out: u32input/output: len of data_out. returns ENOSPC if data_out is too small.
data_in: u64
data_out: u64
repeat: u32
duration: u32
ctx_size_in: u32input: len of ctx_in
ctx_size_out: u32input/output: len of ctx_out. returns ENOSPC if ctx_out is too small.
ctx_in: u64
ctx_out: u64

Source

pub const TestRunAttr = extern struct { prog_fd: fd_t, retval: u32, /// input: len of data_in data_size_in: u32, /// input/output: len of data_out. returns ENOSPC if data_out is too small. data_size_out: u32, data_in: u64, data_out: u64, repeat: u32, duration: u32, /// input: len of ctx_in ctx_size_in: u32, /// input/output: len of ctx_out. returns ENOSPC if ctx_out is too small. ctx_size_out: u32, ctx_in: u64, ctx_out: u64, }