![]() |
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | vnet_interface_output_runtime_t |
Macros | |
| #define | VNET_SIMULATED_ETHERNET_TX_NEXT_ETHERNET_INPUT VNET_INTERFACE_TX_N_NEXT |
| #define | VNET_SIMULATED_ETHERNET_TX_NEXT_L2_INPUT (VNET_SIMULATED_ETHERNET_TX_NEXT_ETHERNET_INPUT + 1) |
Typedefs | |
| typedef enum walk_rc_t_ | walk_rc_t |
| Walk return code. More... | |
| typedef walk_rc_t(* | vnet_hw_sw_interface_walk_t) (vnet_main_t *vnm, u32 sw_if_index, void *ctx) |
| Call back walk type for walking SW indices on a HW interface. More... | |
| typedef walk_rc_t(* | vnet_sw_interface_walk_t) (vnet_main_t *vnm, vnet_sw_interface_t *si, void *ctx) |
| Call back walk type for walking SW indices on a HW interface. More... | |
| typedef walk_rc_t(* | vnet_hw_interface_walk_t) (vnet_main_t *vnm, u32 hw_if_index, void *ctx) |
| Call back walk type for walking all HW indices. More... | |
| #define VNET_SIMULATED_ETHERNET_TX_NEXT_ETHERNET_INPUT VNET_INTERFACE_TX_N_NEXT |
Definition at line 498 of file interface_funcs.h.
| #define VNET_SIMULATED_ETHERNET_TX_NEXT_L2_INPUT (VNET_SIMULATED_ETHERNET_TX_NEXT_ETHERNET_INPUT + 1) |
Definition at line 499 of file interface_funcs.h.
| typedef walk_rc_t(* vnet_hw_interface_walk_t) (vnet_main_t *vnm, u32 hw_if_index, void *ctx) |
Call back walk type for walking all HW indices.
Definition at line 210 of file interface_funcs.h.
| typedef walk_rc_t(* vnet_hw_sw_interface_walk_t) (vnet_main_t *vnm, u32 sw_if_index, void *ctx) |
Call back walk type for walking SW indices on a HW interface.
Definition at line 180 of file interface_funcs.h.
| typedef walk_rc_t(* vnet_sw_interface_walk_t) (vnet_main_t *vnm, vnet_sw_interface_t *si, void *ctx) |
Call back walk type for walking SW indices on a HW interface.
Definition at line 195 of file interface_funcs.h.
| typedef enum walk_rc_t_ walk_rc_t |
Walk return code.
| Enumerator | |
|---|---|
| VNET_INTERFACE_OUTPUT_ERROR_INTERFACE_DOWN | |
| VNET_INTERFACE_OUTPUT_ERROR_INTERFACE_DELETED | |
| VNET_INTERFACE_OUTPUT_ERROR_NO_BUFFERS_FOR_GSO | |
| VNET_INTERFACE_OUTPUT_ERROR_UNHANDLED_GSO_TYPE | |
Definition at line 501 of file interface_funcs.h.
| Enumerator | |
|---|---|
| VNET_INTERFACE_OUTPUT_NEXT_DROP | |
| VNET_INTERFACE_OUTPUT_NEXT_TX | |
Definition at line 486 of file interface_funcs.h.
| Enumerator | |
|---|---|
| VNET_INTERFACE_TX_NEXT_DROP | |
| VNET_INTERFACE_TX_N_NEXT | |
Definition at line 492 of file interface_funcs.h.
| enum walk_rc_t_ |
Walk return code.
| Enumerator | |
|---|---|
| WALK_STOP | |
| WALK_CONTINUE | |
Definition at line 171 of file interface_funcs.h.
Definition at line 62 of file interface_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Add buffer (vlib_buffer_t) to the trace.
| *pm | - pcap_main_t |
| *vm | - vlib_main_t |
| buffer_index | - u32 |
| n_bytes_in_trace | - u32 |
Definition at line 525 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* set_hw_interface_change_rx_mode | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u8 | queue_id_valid, | ||
| u32 | queue_id, | ||
| vnet_hw_if_rx_mode | mode | ||
| ) |
Definition at line 1477 of file interface_cli.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* set_hw_interface_rx_placement | ( | u32 | hw_if_index, |
| u32 | queue_id, | ||
| u32 | thread_index, | ||
| u8 | is_main | ||
| ) |
Definition at line 1678 of file interface_cli.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| clib_error_t* vnet_create_sw_interface | ( | vnet_main_t * | vnm, |
| vnet_sw_interface_t * | template, | ||
| u32 * | sw_if_index | ||
| ) |
Definition at line 619 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_delete_hw_interface | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index | ||
| ) |
Definition at line 1052 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_delete_sw_interface | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 677 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
Definition at line 354 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 44 of file interface_funcs.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 72 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
Definition at line 101 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 81 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 58 of file interface_funcs.h.
|
inlinestatic |
|
inlinestatic |
| void vnet_hw_if_update_runtime_data | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index | ||
| ) |
| clib_error_t* vnet_hw_interface_add_del_mac_address | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| const u8 * | mac_address, | ||
| u8 | is_add | ||
| ) |
Definition at line 1517 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_hw_interface_change_mac_address | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| const u8 * | mac_address | ||
| ) |
Definition at line 1607 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| word vnet_hw_interface_compare | ( | vnet_main_t * | vnm, |
| uword | hw_if_index0, | ||
| uword | hw_if_index1 | ||
| ) |
Definition at line 1302 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 299 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| void vnet_hw_interface_init_for_class | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | hw_class_index, | ||
| u32 | hw_instance | ||
| ) |
Definition at line 1182 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 324 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| int vnet_hw_interface_rx_redirect_to_node | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | node_index | ||
| ) |
Definition at line 1279 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_hw_interface_set_class | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | new_hw_class_index | ||
| ) |
Definition at line 1252 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_hw_interface_set_flags | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| vnet_hw_interface_flags_t | flags | ||
| ) |
|
inlinestatic |
Definition at line 369 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_hw_interface_set_mtu | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | mtu | ||
| ) |
Definition at line 775 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_hw_interface_set_rss_queues | ( | vnet_main_t * | vnm, |
| vnet_hw_interface_t * | hi, | ||
| clib_bitmap_t * | bitmap | ||
| ) |
Definition at line 1762 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_hw_interface_walk | ( | vnet_main_t * | vnm, |
| vnet_hw_interface_walk_t | fn, | ||
| void * | ctx | ||
| ) |
Walk all the HW interface.
Definition at line 1146 of file interface.c.
Here is the caller graph for this function:| void vnet_hw_interface_walk_sw | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| vnet_hw_sw_interface_walk_t | fn, | ||
| void * | ctx | ||
| ) |
Walk the SW interfaces on a HW interface - this is the super interface and any sub-interfaces.
Definition at line 1123 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 361 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 vnet_register_interface | ( | vnet_main_t * | vnm, |
| u32 | dev_class_index, | ||
| u32 | dev_instance, | ||
| u32 | hw_class_index, | ||
| u32 | hw_instance | ||
| ) |
Definition at line 812 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| clib_error_t* vnet_rename_interface | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| char * | new_name | ||
| ) |
| void vnet_set_interface_output_node | ( | vnet_main_t * | vnm, |
| u32 | hw_if_index, | ||
| u32 | node_index | ||
| ) |
Set interface output node - for interface registered without its output/tx nodes created because its VNET_DEVICE_CLASS did not specify any tx_function.
This is typically the case for tunnel interfaces.
Definition at line 1260 of file interface_output.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| void vnet_sw_interface_admin_down | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 546 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_admin_up | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 533 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| word vnet_sw_interface_compare | ( | vnet_main_t * | vnm, |
| uword | sw_if_index0, | ||
| uword | sw_if_index1 | ||
| ) |
Definition at line 1288 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 245 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 292 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 313 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_ip_directed_broadcast | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u8 | enable | ||
| ) |
Definition at line 748 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 265 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 285 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 278 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 331 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_sw_interface_is_nbma | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 1329 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_sw_interface_is_p2p | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index | ||
| ) |
Definition at line 1314 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 346 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 339 of file interface_funcs.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| clib_error_t* vnet_sw_interface_set_flags | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| vnet_sw_interface_flags_t | flags | ||
| ) |
Definition at line 523 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_set_mtu | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u32 | mtu | ||
| ) |
Definition at line 706 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_set_protocol_mtu | ( | vnet_main_t * | vnm, |
| u32 | sw_if_index, | ||
| u32 | mtu[] | ||
| ) |
Definition at line 721 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 25 of file interface_stats.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1616 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_sw_interface_walk | ( | vnet_main_t * | vnm, |
| vnet_sw_interface_walk_t | fn, | ||
| void * | ctx | ||
| ) |
Walk all the SW interfaces in the system.
Definition at line 1164 of file interface.c.
Here is the caller graph for this function:
|
inlinestatic |
| format_function_t format_vnet_hw_if_index_name |
Definition at line 451 of file interface_funcs.h.
| format_function_t format_vnet_hw_if_rx_mode |
Definition at line 450 of file interface_funcs.h.
| format_function_t format_vnet_hw_interface |
Definition at line 449 of file interface_funcs.h.
| format_function_t format_vnet_sw_if_index_name |
Definition at line 455 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface |
Definition at line 452 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface_flags |
Definition at line 456 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface_name |
Definition at line 453 of file interface_funcs.h.
| format_function_t format_vnet_sw_interface_name_override |
Definition at line 454 of file interface_funcs.h.
| format_function_t format_vtr |
Definition at line 469 of file interface_funcs.h.
| serialize_function_t serialize_vnet_interface_state |
Definition at line 512 of file interface_funcs.h.
| unformat_function_t unformat_vnet_buffer_flags |
Definition at line 461 of file interface_funcs.h.
| unformat_function_t unformat_vnet_buffer_offload_flags |
Definition at line 462 of file interface_funcs.h.
| unformat_function_t unformat_vnet_hw_interface |
Definition at line 460 of file interface_funcs.h.
| unformat_function_t unformat_vnet_hw_interface_flags |
Definition at line 465 of file interface_funcs.h.
| unformat_function_t unformat_vnet_sw_interface |
Definition at line 459 of file interface_funcs.h.
| unformat_function_t unformat_vnet_sw_interface_flags |
Definition at line 466 of file interface_funcs.h.
| serialize_function_t unserialize_vnet_interface_state |
Definition at line 513 of file interface_funcs.h.