FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
vl_api_bond_create_t Struct Reference

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

Data Fields

u32 client_index
 
u32 context
 
u32 id
 
u8 use_custom_mac
 
u8 mac_address [6]
 
u8 mode
 
u8 lb
 
u8 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=broadcastcast, 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 34 of file bond.api.

Field Documentation

u32 vl_api_bond_create_t::client_index

Definition at line 36 of file bond.api.

u32 vl_api_bond_create_t::context

Definition at line 37 of file bond.api.

u32 vl_api_bond_create_t::id

Definition at line 38 of file bond.api.

u8 vl_api_bond_create_t::lb

Definition at line 42 of file bond.api.

u8 vl_api_bond_create_t::mac_address[6]

Definition at line 40 of file bond.api.

u8 vl_api_bond_create_t::mode

Definition at line 41 of file bond.api.

u8 vl_api_bond_create_t::numa_only

Definition at line 43 of file bond.api.

u8 vl_api_bond_create_t::use_custom_mac

Definition at line 39 of file bond.api.


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