FD.io VPP  v18.01.2-1-g9b554f3
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 194 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 128 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 172 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 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 ( dpdk_portid_t  port_id,
enum rte_eth_event_type  type,
void *  param 
)
inlinestatic

Definition at line 252 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 243 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 202 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 1927 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:202

(constructor) VLIB_REGISTER_NODE (send_garp_na_proc_node)

Definition at line 199 of file common.c.