FD.io VPP  v21.01.1
Vector Packet Processing
vl_api_bond_create2_t Struct Reference

Initialize a new bond interface with the given paramters. More...

Data Fields

u32 client_index
 
u32 context
 
vl_api_bond_mode_t mode
 
vl_api_bond_lb_algo_t lb
 
bool numa_only
 
bool enable_gso
 
bool use_custom_mac
 
vl_api_mac_address_t mac_address
 
u32 id [default=0xFFFFFFFF]
 

Detailed Description

Initialize a new bond interface with the given paramters.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
mode- mode, required (1=round-robin, 2=active-backup, 3=xor, 4=broadcast, 5=lacp)
lb- load balance, optional (0=l2, 1=l34, 2=l23) valid for xor and lacp modes. Otherwise ignored (default=l2)
numa_only- if numa_only is set, pkts will be transmitted by LAG members on local numa node only if have at least one, otherwise it works as usual.
enable_gso- enable gso support (default 0)
use_custom_mac- if set, mac_address is valid
mac_address- mac addr to assign to the interface if use_custom_mac is set
id- if non-~0, specifies a custom interface ID (default=0xFFFFFFFF)

Definition at line 92 of file bond.api.

Field Documentation

◆ client_index

u32 vl_api_bond_create2_t::client_index

Definition at line 94 of file bond.api.

◆ context

u32 vl_api_bond_create2_t::context

Definition at line 95 of file bond.api.

◆ enable_gso

bool vl_api_bond_create2_t::enable_gso

Definition at line 99 of file bond.api.

◆ id

u32 vl_api_bond_create2_t::id[default=0xFFFFFFFF]

Definition at line 102 of file bond.api.

◆ lb

vl_api_bond_lb_algo_t vl_api_bond_create2_t::lb

Definition at line 97 of file bond.api.

◆ mac_address

vl_api_mac_address_t vl_api_bond_create2_t::mac_address

Definition at line 101 of file bond.api.

◆ mode

vl_api_bond_mode_t vl_api_bond_create2_t::mode

Definition at line 96 of file bond.api.

◆ numa_only

bool vl_api_bond_create2_t::numa_only

Definition at line 98 of file bond.api.

◆ use_custom_mac

bool vl_api_bond_create2_t::use_custom_mac

Definition at line 100 of file bond.api.


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