FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
common.c File Reference
+ Include dependency graph for common.c:

Go to the source code of this file.

Enumerations

enum  { SEND_GARP_NA = 1 }
 

Functions

void dpdk_device_error (dpdk_device_t *xd, char *str, int rv)
 
void dpdk_device_setup (dpdk_device_t *xd)
 
void dpdk_device_start (dpdk_device_t *xd)
 
void dpdk_device_stop (dpdk_device_t *xd)
 
static uword send_garp_na_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
 
void vl_api_force_rpc_call_main_thread (void *fp, u8 *data, u32 data_length)
 
static void garp_na_proc_callback (uword *dpdk_port)
 
static int dpdk_port_state_callback_inline (uint8_t port_id, enum rte_eth_event_type type, void *param)
 
int dpdk_port_state_callback (uint8_t port_id, enum rte_eth_event_type type, void *param, void *ret_param)
 

Variables

enum { ... }  dpdk_send_garp_na_process_event_t
 
static vlib_node_registration_t send_garp_na_proc_node
 (constructor) VLIB_REGISTER_NODE (send_garp_na_proc_node) More...
 

Enumeration Type Documentation

anonymous enum
Enumerator
SEND_GARP_NA 

Definition at line 185 of file common.c.

Function Documentation

void dpdk_device_error ( dpdk_device_t xd,
char *  str,
int  rv 
)

Definition at line 31 of file common.c.

+ Here is the caller graph for this function:

void dpdk_device_setup ( dpdk_device_t xd)

Definition at line 39 of file common.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dpdk_device_start ( dpdk_device_t xd)

Definition at line 119 of file common.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dpdk_device_stop ( dpdk_device_t xd)

Definition at line 163 of file common.c.

+ Here is the caller graph for this function:

int dpdk_port_state_callback ( uint8_t  port_id,
enum rte_eth_event_type  type,
void *  param,
void *  ret_param 
)

Definition at line 301 of file common.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int dpdk_port_state_callback_inline ( uint8_t  port_id,
enum rte_eth_event_type  type,
void *  param 
)
inlinestatic

Definition at line 243 of file common.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void garp_na_proc_callback ( uword dpdk_port)
static

Definition at line 234 of file common.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword send_garp_na_process ( vlib_main_t vm,
vlib_node_runtime_t rt,
vlib_frame_t f 
)
static

Definition at line 193 of file common.c.

+ Here is the call graph for this function:

void vl_api_force_rpc_call_main_thread ( void *  fp,
u8 data,
u32  data_length 
)

Definition at line 1528 of file memory_vlib.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

enum { ... } dpdk_send_garp_na_process_event_t
static vlib_node_registration_t send_garp_na_proc_node
static
Initial value:
= {
.function = send_garp_na_process,
.name = "send-garp-na-process",
}
static uword send_garp_na_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
Definition: common.c:193

(constructor) VLIB_REGISTER_NODE (send_garp_na_proc_node)

Definition at line 190 of file common.c.