FD.io VPP  v18.07.1-19-g511ce25
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 (dpdk_portid_t port_id, enum rte_eth_event_type type, void *param)
 
int dpdk_port_state_callback (dpdk_portid_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 214 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 40 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 143 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 190 of file common.c.

+ Here is the caller graph for this function:

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

Definition at line 319 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 ( dpdk_portid_t  port_id,
enum rte_eth_event_type  type,
void *  param 
)
inlinestatic

Definition at line 269 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 260 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 222 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 649 of file vlib_api.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:222

(constructor) VLIB_REGISTER_NODE (send_garp_na_proc_node)

Definition at line 219 of file common.c.