FD.io VPP  v19.04.4-rc0-5-ge88582fac
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)
 
struct rte_pci_device * dpdk_get_pci_device (const struct rte_eth_dev_info *info)
 

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

anonymous enum
Enumerator
SEND_GARP_NA 

Definition at line 233 of file common.c.

Function Documentation

◆ dpdk_device_error()

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:

◆ dpdk_device_setup()

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:

◆ dpdk_device_start()

void dpdk_device_start ( dpdk_device_t xd)

Definition at line 161 of file common.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dpdk_device_stop()

void dpdk_device_stop ( dpdk_device_t xd)

Definition at line 208 of file common.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dpdk_get_pci_device()

struct rte_pci_device* dpdk_get_pci_device ( const struct rte_eth_dev_info *  info)

Definition at line 348 of file common.c.

+ Here is the caller graph for this function:

◆ dpdk_port_state_callback()

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

Definition at line 338 of file common.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dpdk_port_state_callback_inline()

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

Definition at line 288 of file common.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ garp_na_proc_callback()

static void garp_na_proc_callback ( uword dpdk_port)
static

Definition at line 279 of file common.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ send_garp_na_process()

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

Definition at line 241 of file common.c.

+ Here is the call graph for this function:

◆ vl_api_force_rpc_call_main_thread()

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

Definition at line 634 of file vlib_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ dpdk_send_garp_na_process_event_t

enum { ... } dpdk_send_garp_na_process_event_t

◆ send_garp_na_proc_node

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:241

(constructor) VLIB_REGISTER_NODE (send_garp_na_proc_node)

Definition at line 238 of file common.c.