FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
ptx_machine.c File Reference
+ Include dependency graph for ptx_machine.c:

Go to the source code of this file.

Functions

int lacp_ptx_action_no_periodic (void *p1, void *p2)
 
int lacp_ptx_action_slow_periodic (void *p1, void *p2)
 
int lacp_ptx_action_fast_periodic (void *p1, void *p2)
 
int lacp_ptx_action_timer_expired (void *p1, void *p2)
 
static u8format_ptx_event (u8 *s, va_list *args)
 
void lacp_ptx_debug_func (slave_if_t *sif, int event, int state, lacp_fsm_state_t *transition)
 
void lacp_init_ptx_machine (vlib_main_t *vm, slave_if_t *sif)
 

Variables

static lacp_fsm_state_t lacp_ptx_state_no_periodic []
 
static lacp_fsm_state_t lacp_ptx_state_fast_periodic []
 
static lacp_fsm_state_t lacp_ptx_state_slow_periodic []
 
static lacp_fsm_state_t lacp_ptx_state_periodic_tx []
 
static lacp_fsm_machine_t lacp_ptx_fsm_table []
 
lacp_machine_t lacp_ptx_machine
 

Function Documentation

static u8* format_ptx_event ( u8 s,
va_list *  args 
)
static

Definition at line 158 of file ptx_machine.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void lacp_init_ptx_machine ( vlib_main_t vm,
slave_if_t sif 
)

Definition at line 190 of file ptx_machine.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int lacp_ptx_action_fast_periodic ( void *  p1,
void *  p2 
)

Definition at line 112 of file ptx_machine.c.

+ Here is the call graph for this function:

int lacp_ptx_action_no_periodic ( void *  p1,
void *  p2 
)

Definition at line 75 of file ptx_machine.c.

+ Here is the call graph for this function:

int lacp_ptx_action_slow_periodic ( void *  p1,
void *  p2 
)

Definition at line 89 of file ptx_machine.c.

+ Here is the call graph for this function:

int lacp_ptx_action_timer_expired ( void *  p1,
void *  p2 
)

Definition at line 139 of file ptx_machine.c.

+ Here is the call graph for this function:

void lacp_ptx_debug_func ( slave_if_t sif,
int  event,
int  state,
lacp_fsm_state_t transition 
)

Definition at line 179 of file ptx_machine.c.

+ Here is the call graph for this function:

Variable Documentation

lacp_fsm_machine_t lacp_ptx_fsm_table[]
static
Initial value:
= {
}
static lacp_fsm_state_t lacp_ptx_state_slow_periodic[]
Definition: ptx_machine.c:44
static lacp_fsm_state_t lacp_ptx_state_no_periodic[]
Definition: ptx_machine.c:24
static lacp_fsm_state_t lacp_ptx_state_periodic_tx[]
Definition: ptx_machine.c:54
static lacp_fsm_state_t lacp_ptx_state_fast_periodic[]
Definition: ptx_machine.c:34

Definition at line 62 of file ptx_machine.c.

lacp_machine_t lacp_ptx_machine
Initial value:
= {
}
static lacp_fsm_machine_t lacp_ptx_fsm_table[]
Definition: ptx_machine.c:62
void lacp_ptx_debug_func(slave_if_t *sif, int event, int state, lacp_fsm_state_t *transition)
Definition: ptx_machine.c:179

Definition at line 69 of file ptx_machine.c.

lacp_fsm_state_t lacp_ptx_state_fast_periodic[]
static
Initial value:
= {
{LACP_ACTION_FAST_PERIODIC, LACP_PTX_STATE_FAST_PERIODIC},
{LACP_ACTION_SLOW_PERIODIC, LACP_PTX_STATE_SLOW_PERIODIC},
{LACP_ACTION_TIMER_EXPIRED, LACP_PTX_STATE_PERIODIC_TX},
{LACP_ACTION_FAST_PERIODIC, LACP_PTX_STATE_FAST_PERIODIC},
}
#define LACP_ACTION_SLOW_PERIODIC
Definition: ptx_machine.h:59
#define LACP_ACTION_TIMER_EXPIRED
Definition: ptx_machine.h:63
#define LACP_ACTION_FAST_PERIODIC
Definition: ptx_machine.h:61

Definition at line 34 of file ptx_machine.c.

lacp_fsm_state_t lacp_ptx_state_no_periodic[]
static
Initial value:
= {
{LACP_ACTION_NO_PERIODIC, LACP_PTX_STATE_FAST_PERIODIC},
{LACP_NOACTION, LACP_PTX_STATE_NO_PERIODIC},
{LACP_NOACTION, LACP_PTX_STATE_NO_PERIODIC},
{LACP_NOACTION, LACP_PTX_STATE_NO_PERIODIC},
}
#define LACP_NOACTION
Definition: machine.h:21
#define LACP_ACTION_NO_PERIODIC
Definition: ptx_machine.h:57

Definition at line 24 of file ptx_machine.c.

lacp_fsm_state_t lacp_ptx_state_periodic_tx[]
static
Initial value:
= {
{LACP_ACTION_NO_PERIODIC, LACP_PTX_STATE_NO_PERIODIC},
{LACP_NOACTION, LACP_PTX_STATE_PERIODIC_TX},
{LACP_ACTION_TIMER_EXPIRED, LACP_PTX_STATE_PERIODIC_TX},
{LACP_NOACTION, LACP_PTX_STATE_PERIODIC_TX},
}
#define LACP_NOACTION
Definition: machine.h:21
#define LACP_ACTION_TIMER_EXPIRED
Definition: ptx_machine.h:63
#define LACP_ACTION_NO_PERIODIC
Definition: ptx_machine.h:57

Definition at line 54 of file ptx_machine.c.

lacp_fsm_state_t lacp_ptx_state_slow_periodic[]
static
Initial value:
= {
{LACP_ACTION_NO_PERIODIC, LACP_PTX_STATE_NO_PERIODIC},
{LACP_ACTION_SLOW_PERIODIC, LACP_PTX_STATE_SLOW_PERIODIC},
{LACP_ACTION_TIMER_EXPIRED, LACP_PTX_STATE_PERIODIC_TX},
{LACP_ACTION_FAST_PERIODIC, LACP_PTX_STATE_FAST_PERIODIC},
}
#define LACP_ACTION_SLOW_PERIODIC
Definition: ptx_machine.h:59
#define LACP_ACTION_TIMER_EXPIRED
Definition: ptx_machine.h:63
#define LACP_ACTION_NO_PERIODIC
Definition: ptx_machine.h:57
#define LACP_ACTION_FAST_PERIODIC
Definition: ptx_machine.h:61

Definition at line 44 of file ptx_machine.c.