FD.io VPP  v21.10.1-2-g0a485f517
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)
 
static clib_error_tdpdk_rx_read_ready (clib_file_t *uf)
 
static void dpdk_setup_interrupts (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)
 
struct rte_vmbus_device * dpdk_get_vmbus_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 33 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 42 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 247 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 283 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 335 of file common.c.

+ Here is the caller graph for this function:

◆ dpdk_get_vmbus_device()

struct rte_vmbus_device* dpdk_get_vmbus_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 325 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 299 of file common.c.

+ Here is the caller graph for this function:

◆ dpdk_rx_read_ready()

static clib_error_t* dpdk_rx_read_ready ( clib_file_t uf)
static

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_setup_interrupts()

static void dpdk_setup_interrupts ( dpdk_device_t xd)
static

Definition at line 186 of file common.c.

+ Here is the call graph for this function:
+ 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 631 of file vlib_api.c.

+ Here is the call graph for this function: