FD.io VPP  v18.10-34-gcce845e
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 235 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 163 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 210 of file common.c.

+ Here is the call graph for this function:

+ 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 340 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 290 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 281 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 243 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:243

(constructor) VLIB_REGISTER_NODE (send_garp_na_proc_node)

Definition at line 240 of file common.c.