FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
kp_pod_t Struct Reference

Each VIP is configured with a set of PODs. More...

+ Collaboration diagram for kp_pod_t:

Data Fields

fib_node_t fib_node
 Registration to FIB event. More...
 
ip46_address_t address
 Destination address used to transfer traffic towards to that POD. More...
 
u32 vip_index
 PODs are indexed by address and VIP Index. More...
 
u8 flags
 Some per-POD flags. More...
 
u32 last_used
 Rotating timestamp of when KP_POD_FLAGS_USED flag was last set. More...
 
fib_node_index_t next_hop_fib_entry_index
 The FIB entry index for the next-hop. More...
 
u32 next_hop_child_index
 The child index on the FIB entry. More...
 
dpo_id_t dpo
 The next DPO in the graph to follow. More...
 

Detailed Description

Each VIP is configured with a set of PODs.

Definition at line 92 of file kp.h.

Field Documentation

ip46_address_t kp_pod_t::address

Destination address used to transfer traffic towards to that POD.

The address is also used pod ID and pseudo-random seed for the load-balancing process.

Definition at line 103 of file kp.h.

dpo_id_t kp_pod_t::dpo

The next DPO in the graph to follow.

Definition at line 144 of file kp.h.

fib_node_t kp_pod_t::fib_node

Registration to FIB event.

Definition at line 96 of file kp.h.

u8 kp_pod_t::flags

Some per-POD flags.

For now only KP_POD_FLAGS_USED is defined.

Definition at line 116 of file kp.h.

u32 kp_pod_t::last_used

Rotating timestamp of when KP_POD_FLAGS_USED flag was last set.

POD removal is based on garbage collection and reference counting. When an POD is removed, there is a race between configuration core and worker cores which may still add a reference while it should not be used. This timestamp is used to not remove the POD while a race condition may happen.

Definition at line 129 of file kp.h.

u32 kp_pod_t::next_hop_child_index

The child index on the FIB entry.

Definition at line 139 of file kp.h.

fib_node_index_t kp_pod_t::next_hop_fib_entry_index

The FIB entry index for the next-hop.

Definition at line 134 of file kp.h.

u32 kp_pod_t::vip_index

PODs are indexed by address and VIP Index.

Which means there will be duplicated if the same server address is used for multiple VIPs.

Definition at line 110 of file kp.h.


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