FD.io VPP  v21.01.1
Vector Packet Processing
common.c File Reference
+ Include dependency graph for common.c:

Go to the source code of this file.

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)
 
void vl_api_force_rpc_call_main_thread (void *fp, u8 *data, u32 data_length)
 
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)
 

Function Documentation

◆ dpdk_device_error()

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

Definition at line 30 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 39 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 166 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 200 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 252 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 242 of file common.c.

+ Here is the call 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 216 of file common.c.

+ Here is the caller 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 630 of file vlib_api.c.

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