FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Load balancing service is provided per VIP. More...
Data Fields | |
kp_new_flow_entry_t * | new_flow_table |
Vector mapping (flow-hash & new_connect_table_mask) to POD index. More... | |
u32 | new_flow_table_mask |
New flows table length - 1 (length MUST be a power of 2) More... | |
u32 | last_garbage_collection |
last time garbage collection was run to free the PODs. More... | |
ip46_address_t | prefix |
A Virtual IP represents a given service delivered by a set of PODs. More... | |
u8 | plen |
The VIP prefix length. More... | |
u16 | port |
Service port. More... | |
u16 | target_port |
Pod's port corresponding to specific service. More... | |
u16 | node_port |
Node's port, can access service via NodeIP:node_port. More... | |
kp_vip_type_t | type |
The type of traffic for this. More... | |
u8 | flags |
Flags related to this VIP. More... | |
u32 * | pod_indexes |
Pool of POD indexes used for this VIP. More... | |
Load balancing service is provided per VIP.
In this data model, a VIP can be a whole prefix. But load balancing only occurs on a per-source-address/port basis. Meaning that if a given source reuses the same port for multiple destinations within the same VIP, they will be considered as a single flow.
u8 kp_vip_t::flags |
u32 kp_vip_t::last_garbage_collection |
kp_new_flow_entry_t* kp_vip_t::new_flow_table |
u32 kp_vip_t::new_flow_table_mask |
u16 kp_vip_t::node_port |
u8 kp_vip_t::plen |
u32* kp_vip_t::pod_indexes |
ip46_address_t kp_vip_t::prefix |
u16 kp_vip_t::target_port |
kp_vip_type_t kp_vip_t::type |