FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
vl_api_bond_create_t Struct Reference

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

Data Fields

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

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
id- if non-~0, specifies a custom interface ID
use_custom_mac- if set, mac_address is valid
mac_address- mac addr to assign to the interface if use_custom_mac is set
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
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.

Definition at line 56 of file bond.api.

Field Documentation

◆ client_index

u32 vl_api_bond_create_t::client_index

Definition at line 59 of file bond.api.

◆ context

u32 vl_api_bond_create_t::context

Definition at line 60 of file bond.api.

◆ deprecated

option vl_api_bond_create_t::deprecated

Definition at line 58 of file bond.api.

◆ id

u32 vl_api_bond_create_t::id[default=0xFFFFFFFF]

Definition at line 61 of file bond.api.

◆ lb

vl_api_bond_lb_algo_t vl_api_bond_create_t::lb

Definition at line 65 of file bond.api.

◆ mac_address

vl_api_mac_address_t vl_api_bond_create_t::mac_address

Definition at line 63 of file bond.api.

◆ mode

vl_api_bond_mode_t vl_api_bond_create_t::mode

Definition at line 64 of file bond.api.

◆ numa_only

bool vl_api_bond_create_t::numa_only

Definition at line 66 of file bond.api.

◆ use_custom_mac

bool vl_api_bond_create_t::use_custom_mac

Definition at line 62 of file bond.api.


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