FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Data Fields | |
u32 | client_index |
u32 | context |
string | host_if [64] |
string | name [64] |
u16 | rxq_num [default=1] |
u16 | rxq_size [default=0] |
u16 | txq_size [default=0] |
vl_api_af_xdp_mode_t | mode [default=0] |
vl_api_af_xdp_flag_t | flags [default=0] |
string | prog [256] |
option | vat_help = "<host-if linux-ifname> [name ifname] [rx-queue-size size] [tx-queue-size size] [num-rx-queues <num|all>] [prog pathname] [zero-copy|no-zero-copy] [no-syscall-lock]" |
option | status ="in_progress" |
client_index | - opaque cookie to identify the sender |
context | - sender context, to match reply w/ request |
host_if | - Linux netdev interface name |
name | - new af_xdp interface name (optional) |
rxq_num | - number of receive queues. 65535 can be used as special value to request all available queues (optional) |
rxq_size | - receive queue size (optional) |
txq_size | - transmit queue size (optional) |
mode | - operation mode (optional) |
flags | - flags (optional) |
prog | - eBPF program path (optional) |
Definition at line 46 of file af_xdp.api.
u32 vl_api_af_xdp_create_t::client_index |
Definition at line 48 of file af_xdp.api.
u32 vl_api_af_xdp_create_t::context |
Definition at line 49 of file af_xdp.api.
vl_api_af_xdp_flag_t vl_api_af_xdp_create_t::flags[default=0] |
Definition at line 57 of file af_xdp.api.
string vl_api_af_xdp_create_t::host_if[64] |
Definition at line 51 of file af_xdp.api.
vl_api_af_xdp_mode_t vl_api_af_xdp_create_t::mode[default=0] |
Definition at line 56 of file af_xdp.api.
string vl_api_af_xdp_create_t::name[64] |
Definition at line 52 of file af_xdp.api.
string vl_api_af_xdp_create_t::prog[256] |
Definition at line 58 of file af_xdp.api.
u16 vl_api_af_xdp_create_t::rxq_num[default=1] |
Definition at line 53 of file af_xdp.api.
u16 vl_api_af_xdp_create_t::rxq_size[default=0] |
Definition at line 54 of file af_xdp.api.
option vl_api_af_xdp_create_t::status ="in_progress" |
Definition at line 60 of file af_xdp.api.
u16 vl_api_af_xdp_create_t::txq_size[default=0] |
Definition at line 55 of file af_xdp.api.
option vl_api_af_xdp_create_t::vat_help = "<host-if linux-ifname> [name ifname] [rx-queue-size size] [tx-queue-size size] [num-rx-queues <num|all>] [prog pathname] [zero-copy|no-zero-copy] [no-syscall-lock]" |
Definition at line 59 of file af_xdp.api.