FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
dpdk_api.c File Reference
+ Include dependency graph for dpdk_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_api_version(n, v)   static u32 api_version=(v);
 
#define FINISH
 
#define foreach_dpdk_plugin_api_msg
 
#define vl_msg_name_crc_list
 

Functions

static void vl_api_sw_interface_set_dpdk_hqos_pipe_t_handler (vl_api_sw_interface_set_dpdk_hqos_pipe_t *mp)
 
static void * vl_api_sw_interface_set_dpdk_hqos_pipe_t_print (vl_api_sw_interface_set_dpdk_hqos_pipe_t *mp, void *handle)
 
static void vl_api_sw_interface_set_dpdk_hqos_subport_t_handler (vl_api_sw_interface_set_dpdk_hqos_subport_t *mp)
 
static void * vl_api_sw_interface_set_dpdk_hqos_subport_t_print (vl_api_sw_interface_set_dpdk_hqos_subport_t *mp, void *handle)
 
static void vl_api_sw_interface_set_dpdk_hqos_tctbl_t_handler (vl_api_sw_interface_set_dpdk_hqos_tctbl_t *mp)
 
static void * vl_api_sw_interface_set_dpdk_hqos_tctbl_t_print (vl_api_sw_interface_set_dpdk_hqos_tctbl_t *mp, void *handle)
 
static clib_error_tdpdk_plugin_api_hookup (vlib_main_t *vm)
 
static void setup_message_id_table (dpdk_main_t *dm, api_main_t *am)
 
static clib_error_tdpdk_api_init (vlib_main_t *vm)
 

Macro Definition Documentation

#define FINISH
Value:
vec_add1 (s, 0); \
vl_print (handle, (char *)s); \
vec_free (s); \
return handle;
#define vec_add1(V, E)
Add 1 element to end of vector (unspecified alignment).
Definition: vec.h:523
#define vec_free(V)
Free vector's memory (no header).
Definition: vec.h:339
#define vl_print(handle,...)
Definition: dpdk_api.c:49

Definition at line 57 of file dpdk_api.c.

#define foreach_dpdk_plugin_api_msg
Value:
_(SW_INTERFACE_SET_DPDK_HQOS_PIPE, sw_interface_set_dpdk_hqos_pipe) \
_(SW_INTERFACE_SET_DPDK_HQOS_SUBPORT, sw_interface_set_dpdk_hqos_subport) \
_(SW_INTERFACE_SET_DPDK_HQOS_TCTBL, sw_interface_set_dpdk_hqos_tctbl)

Definition at line 245 of file dpdk_api.c.

#define vl_api_version (   n,
  v 
)    static u32 api_version=(v);

Definition at line 52 of file dpdk_api.c.

#define vl_endianfun   /* define message structures */

Definition at line 45 of file dpdk_api.c.

#define vl_msg_name_crc_list

Definition at line 268 of file dpdk_api.c.

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 49 of file dpdk_api.c.

#define vl_typedefs   /* define message structures */

Definition at line 41 of file dpdk_api.c.

Function Documentation

static clib_error_t* dpdk_api_init ( vlib_main_t vm)
static

Definition at line 295 of file dpdk_api.c.

+ Here is the call graph for this function:

static clib_error_t* dpdk_plugin_api_hookup ( vlib_main_t vm)
static

Definition at line 252 of file dpdk_api.c.

+ Here is the caller graph for this function:

static void setup_message_id_table ( dpdk_main_t dm,
api_main_t am 
)
static

Definition at line 273 of file dpdk_api.c.

+ Here is the caller graph for this function:

static void vl_api_sw_interface_set_dpdk_hqos_pipe_t_handler ( vl_api_sw_interface_set_dpdk_hqos_pipe_t mp)
static

Definition at line 67 of file dpdk_api.c.

+ Here is the call graph for this function:

static void* vl_api_sw_interface_set_dpdk_hqos_pipe_t_print ( vl_api_sw_interface_set_dpdk_hqos_pipe_t mp,
void *  handle 
)
static

Definition at line 96 of file dpdk_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_sw_interface_set_dpdk_hqos_subport_t_handler ( vl_api_sw_interface_set_dpdk_hqos_subport_t mp)
static

Definition at line 112 of file dpdk_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* vl_api_sw_interface_set_dpdk_hqos_subport_t_print ( vl_api_sw_interface_set_dpdk_hqos_subport_t mp,
void *  handle 
)
static

Definition at line 148 of file dpdk_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vl_api_sw_interface_set_dpdk_hqos_tctbl_t_handler ( vl_api_sw_interface_set_dpdk_hqos_tctbl_t mp)
static

Definition at line 169 of file dpdk_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* vl_api_sw_interface_set_dpdk_hqos_tctbl_t_print ( vl_api_sw_interface_set_dpdk_hqos_tctbl_t mp,
void *  handle 
)
static

Definition at line 231 of file dpdk_api.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: