![]() |
FD.io VPP
v16.12-rc0-308-g931be3a
Vector Packet Processing
|
Include dependency graph for vhost-user.c:Go to the source code of this file.
Data Structures | |
| struct | vhost_user_input_trace_t |
Macros | |
| #define | VHOST_USER_DEBUG_SOCKET 0 |
| #define | VHOST_USER_DEBUG_VQ 0 |
| #define | VHOST_USER_COPY_TX_HDR 0 |
| #define | DBG_SOCK(args...) |
| #define | DBG_VQ(args...) |
| #define | foreach_vhost_user_tx_func_error |
| #define | foreach_vhost_user_input_func_error |
| #define | VHOST_LOG_PAGE 0x1000 |
| #define | vhost_user_log_dirty_ring(vui, vq, member) |
Enumerations | |
| enum | vhost_user_tx_func_error_t { VHOST_USER_TX_FUNC_N_ERROR } |
| enum | vhost_user_input_func_error_t { VHOST_USER_INPUT_FUNC_N_ERROR } |
Variables | |
| vlib_node_registration_t | vhost_user_input_node |
| (constructor) VLIB_REGISTER_NODE (vhost_user_input_node) More... | |
| static char * | vhost_user_tx_func_error_strings [] |
| static char * | vhost_user_input_func_error_strings [] |
| static vhost_user_main_t | vhost_user_main |
| static vlib_node_registration_t | vhost_user_process_node |
| (constructor) VLIB_REGISTER_NODE (vhost_user_process_node) More... | |
| static vlib_cli_command_t | vhost_user_connect_command |
| (constructor) VLIB_CLI_COMMAND (vhost_user_connect_command) More... | |
| static vlib_cli_command_t | vhost_user_delete_command |
| (constructor) VLIB_CLI_COMMAND (vhost_user_delete_command) More... | |
| static vlib_cli_command_t | show_vhost_user_command |
| (constructor) VLIB_CLI_COMMAND (show_vhost_user_command) More... | |
| #define DBG_SOCK | ( | args... | ) |
Definition at line 54 of file vhost-user.c.
| #define DBG_VQ | ( | args... | ) |
Definition at line 60 of file vhost-user.c.
| #define foreach_vhost_user_input_func_error |
Definition at line 87 of file vhost-user.c.
| #define foreach_vhost_user_tx_func_error |
Definition at line 65 of file vhost-user.c.
| #define VHOST_LOG_PAGE 0x1000 |
Definition at line 338 of file vhost-user.c.
| #define VHOST_USER_COPY_TX_HDR 0 |
Definition at line 49 of file vhost-user.c.
| #define VHOST_USER_DEBUG_SOCKET 0 |
Definition at line 44 of file vhost-user.c.
| #define VHOST_USER_DEBUG_VQ 0 |
Definition at line 45 of file vhost-user.c.
| #define vhost_user_log_dirty_ring | ( | vui, | |
| vq, | |||
| member | |||
| ) |
Definition at line 362 of file vhost-user.c.
| Enumerator | |
|---|---|
| VHOST_USER_INPUT_FUNC_N_ERROR | |
Definition at line 95 of file vhost-user.c.
| Enumerator | |
|---|---|
| VHOST_USER_TX_FUNC_N_ERROR | |
Definition at line 73 of file vhost-user.c.
Definition at line 932 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 120 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| static_always_inline void* map_guest_mem | ( | vhost_user_intf_t * | vui, |
| uword | addr, | ||
| u32 * | hint | ||
| ) |
|
inlinestatic |
| clib_error_t* show_vhost_user_command_fn | ( | vlib_main_t * | vm, |
| unformat_input_t * | input, | ||
| vlib_cli_command_t * | cmd | ||
| ) |
|
static |
Definition at line 247 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
| clib_error_t* vhost_user_connect_command_fn | ( | vlib_main_t * | vm, |
| unformat_input_t * | input, | ||
| vlib_cli_command_t * | cmd | ||
| ) |
|
static |
Definition at line 1910 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vhost_user_create_if | ( | vnet_main_t * | vnm, |
| vlib_main_t * | vm, | ||
| const char * | sock_filename, | ||
| u8 | is_server, | ||
| u32 * | sw_if_index, | ||
| u64 | feature_mask, | ||
| u8 | renumber, | ||
| u32 | custom_dev_instance, | ||
| u8 * | hwaddr | ||
| ) |
Definition at line 2021 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vhost_user_delete_command_fn | ( | vlib_main_t * | vm, |
| unformat_input_t * | input, | ||
| vlib_cli_command_t * | cmd | ||
| ) |
| int vhost_user_delete_if | ( | vnet_main_t * | vnm, |
| vlib_main_t * | vm, | ||
| u32 | sw_if_index | ||
| ) |
Definition at line 1799 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vhost_user_dump_ifs | ( | vnet_main_t * | vnm, |
| vlib_main_t * | vm, | ||
| vhost_user_intf_details_t ** | out_vuids | ||
| ) |
Definition at line 2199 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 914 of file vhost-user.c.
|
inlinestatic |
Definition at line 293 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1009 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 1835 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
static |
Definition at line 1389 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| int vhost_user_modify_if | ( | vnet_main_t * | vnm, |
| vlib_main_t * | vm, | ||
| const char * | sock_filename, | ||
| u8 | is_server, | ||
| u32 | sw_if_index, | ||
| u64 | feature_mask, | ||
| u8 | renumber, | ||
| u32 | custom_dev_instance | ||
| ) |
Definition at line 2062 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| void vhost_user_rx_trace | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vhost_user_intf_t * | vui, | ||
| i16 | virtqueue | ||
| ) |
Definition at line 961 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 996 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 811 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 369 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 832 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vhost_user_unmap_all | ( | void | ) |
|
static |
Definition at line 1949 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 1994 of file vhost-user.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VLIB_DEVICE_TX_FUNCTION_MULTIARCH | ( | vhost_user_dev_class | , |
| vhost_user_intfc_tx | |||
| ) |
| VNET_DEVICE_CLASS | ( | vhost_user_dev_class | , |
| static | |||
| ) |
Here is the caller graph for this function:| VNET_HW_INTERFACE_CLASS | ( | vhost_interface_class | , |
| static | |||
| ) |
|
static |
(constructor) VLIB_CLI_COMMAND (show_vhost_user_command)
Definition at line 2422 of file vhost-user.c.
|
static |
(constructor) VLIB_CLI_COMMAND (vhost_user_connect_command)
Definition at line 2410 of file vhost-user.c.
|
static |
(constructor) VLIB_CLI_COMMAND (vhost_user_delete_command)
Definition at line 2416 of file vhost-user.c.
|
static |
Definition at line 103 of file vhost-user.c.
| vlib_node_registration_t vhost_user_input_node |
(constructor) VLIB_REGISTER_NODE (vhost_user_input_node)
Definition at line 63 of file vhost-user.c.
|
static |
Definition at line 110 of file vhost-user.c.
|
static |
(constructor) VLIB_REGISTER_NODE (vhost_user_process_node)
Definition at line 1791 of file vhost-user.c.
|
static |
Definition at line 81 of file vhost-user.c.