FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
vmxnet3_api.c File Reference
+ Include dependency graph for vmxnet3_api.c:

Go to the source code of this file.

Macros

#define vl_typedefs
 
#define vl_endianfun
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define vl_api_version(n, v)   static u32 api_version=(v);
 
#define foreach_vmxnet3_plugin_api_msg
 
#define vl_msg_name_crc_list
 

Functions

static void vl_api_vmxnet3_create_t_handler (vl_api_vmxnet3_create_t *mp)
 
static void vl_api_vmxnet3_delete_t_handler (vl_api_vmxnet3_delete_t *mp)
 
static void send_vmxnet3_details (vl_api_registration_t *reg, vmxnet3_device_t *vd, u16 rx_qid, vmxnet3_rxq_t *rxq, u16 tx_qid, vmxnet3_txq_t *txq, vnet_sw_interface_t *swif, u8 *interface_name, u32 context)
 
static void vl_api_vmxnet3_dump_t_handler (vl_api_vmxnet3_dump_t *mp)
 Message handler for vmxnet3_dump API. More...
 
static void setup_message_id_table (vmxnet3_main_t *vmxm, api_main_t *am)
 
clib_error_tvmxnet3_plugin_api_hookup (vlib_main_t *vm)
 

Macro Definition Documentation

◆ foreach_vmxnet3_plugin_api_msg

#define foreach_vmxnet3_plugin_api_msg
Value:
_(VMXNET3_CREATE, vmxnet3_create) \
_(VMXNET3_DELETE, vmxnet3_delete) \
_(VMXNET3_DUMP, vmxnet3_dump)

Definition at line 54 of file vmxnet3_api.c.

◆ vl_api_version

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

Definition at line 48 of file vmxnet3_api.c.

◆ vl_endianfun

#define vl_endianfun

Definition at line 37 of file vmxnet3_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 200 of file vmxnet3_api.c.

◆ vl_print

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

Definition at line 42 of file vmxnet3_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 43 of file vmxnet3_api.c.

◆ vl_typedefs

#define vl_typedefs

Definition at line 32 of file vmxnet3_api.c.

Function Documentation

◆ send_vmxnet3_details()

static void send_vmxnet3_details ( vl_api_registration_t reg,
vmxnet3_device_t vd,
u16  rx_qid,
vmxnet3_rxq_t rxq,
u16  tx_qid,
vmxnet3_txq_t txq,
vnet_sw_interface_t swif,
u8 interface_name,
u32  context 
)
static

Definition at line 113 of file vmxnet3_api.c.

+ Here is the call graph for this function:

◆ setup_message_id_table()

static void setup_message_id_table ( vmxnet3_main_t vmxm,
api_main_t am 
)
static

Definition at line 205 of file vmxnet3_api.c.

+ Here is the caller graph for this function:

◆ vl_api_vmxnet3_create_t_handler()

static void vl_api_vmxnet3_create_t_handler ( vl_api_vmxnet3_create_t mp)
static

Definition at line 60 of file vmxnet3_api.c.

+ Here is the call graph for this function:

◆ vl_api_vmxnet3_delete_t_handler()

static void vl_api_vmxnet3_delete_t_handler ( vl_api_vmxnet3_delete_t mp)
static

Definition at line 87 of file vmxnet3_api.c.

+ Here is the call graph for this function:

◆ vl_api_vmxnet3_dump_t_handler()

static void vl_api_vmxnet3_dump_t_handler ( vl_api_vmxnet3_dump_t mp)
static

Message handler for vmxnet3_dump API.

Parameters
mpvl_api_vmxnet3_dump_t * mp the api message

Definition at line 167 of file vmxnet3_api.c.

+ Here is the call graph for this function:

◆ vmxnet3_plugin_api_hookup()

clib_error_t* vmxnet3_plugin_api_hookup ( vlib_main_t vm)

Definition at line 215 of file vmxnet3_api.c.

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