FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
vl_api_af_xdp_create_t Struct Reference

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"
 

Detailed Description

Template Parameters
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.

Field Documentation

◆ client_index

u32 vl_api_af_xdp_create_t::client_index

Definition at line 48 of file af_xdp.api.

◆ context

u32 vl_api_af_xdp_create_t::context

Definition at line 49 of file af_xdp.api.

◆ flags

vl_api_af_xdp_flag_t vl_api_af_xdp_create_t::flags[default=0]

Definition at line 57 of file af_xdp.api.

◆ host_if

string vl_api_af_xdp_create_t::host_if[64]

Definition at line 51 of file af_xdp.api.

◆ mode

vl_api_af_xdp_mode_t vl_api_af_xdp_create_t::mode[default=0]

Definition at line 56 of file af_xdp.api.

◆ name

string vl_api_af_xdp_create_t::name[64]

Definition at line 52 of file af_xdp.api.

◆ prog

string vl_api_af_xdp_create_t::prog[256]

Definition at line 58 of file af_xdp.api.

◆ rxq_num

u16 vl_api_af_xdp_create_t::rxq_num[default=1]

Definition at line 53 of file af_xdp.api.

◆ rxq_size

u16 vl_api_af_xdp_create_t::rxq_size[default=0]

Definition at line 54 of file af_xdp.api.

◆ status

option vl_api_af_xdp_create_t::status ="in_progress"

Definition at line 60 of file af_xdp.api.

◆ txq_size

u16 vl_api_af_xdp_create_t::txq_size[default=0]

Definition at line 55 of file af_xdp.api.

◆ vat_help

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.


The documentation for this struct was generated from the following file: