FD.io VPP  v21.06
Vector Packet Processing
rx_queue_funcs.h File Reference
+ Include dependency graph for rx_queue_funcs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

u32 vnet_hw_if_get_rx_queue_index_by_id (vnet_main_t *vnm, u32 hw_if_index, u32 queue_id)
 
u32 vnet_hw_if_register_rx_queue (vnet_main_t *vnm, u32 hw_if_index, u32 queue_id, u32 thread_idnex)
 
void vnet_hw_if_unregister_rx_queue (vnet_main_t *vnm, u32 queue_index)
 
void vnet_hw_if_unregister_all_rx_queues (vnet_main_t *vnm, u32 hw_if_index)
 
void vnet_hw_if_set_rx_queue_file_index (vnet_main_t *vnm, u32 queue_index, u32 file_index)
 
void vnet_hw_if_set_input_node (vnet_main_t *vnm, u32 hw_if_index, u32 node_index)
 
int vnet_hw_if_set_rx_queue_mode (vnet_main_t *vnm, u32 queue_index, vnet_hw_if_rx_mode mode)
 
vnet_hw_if_rx_mode vnet_hw_if_get_rx_queue_mode (vnet_main_t *vnm, u32 queue_index)
 
void vnet_hw_if_set_rx_queue_thread_index (vnet_main_t *vnm, u32 queue_index, u32 thread_index)
 
void vnet_hw_if_generate_rxq_int_poll_vector (vlib_main_t *vm, vlib_node_runtime_t *node)
 
static_always_inline vnet_hw_if_rx_queue_tvnet_hw_if_get_rx_queue (vnet_main_t *vnm, u32 queue_index)
 
static_always_inline void vnet_hw_if_rx_queue_set_int_pending (vnet_main_t *vnm, u32 queue_index)
 
static_always_inline vnet_hw_if_rxq_poll_vector_tvnet_hw_if_get_rxq_poll_vector (vlib_main_t *vm, vlib_node_runtime_t *node)
 
static_always_inline u8 vnet_hw_if_get_rx_queue_numa_node (vnet_main_t *vnm, u32 queue_index)
 
static_always_inline u32 vnet_hw_if_get_rx_queue_thread_index (vnet_main_t *vnm, u32 queue_index)
 
static_always_inline int vnet_hw_if_rxq_cmp_cli_api (vnet_hw_if_rx_queue_t **a, vnet_hw_if_rx_queue_t **b)
 

Function Documentation

◆ vnet_hw_if_generate_rxq_int_poll_vector()

void vnet_hw_if_generate_rxq_int_poll_vector ( vlib_main_t vm,
vlib_node_runtime_t node 
)

Definition at line 232 of file rx_queue.c.

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

◆ vnet_hw_if_get_rx_queue()

static_always_inline vnet_hw_if_rx_queue_t* vnet_hw_if_get_rx_queue ( vnet_main_t vnm,
u32  queue_index 
)

Definition at line 42 of file rx_queue_funcs.h.

+ Here is the caller graph for this function:

◆ vnet_hw_if_get_rx_queue_index_by_id()

u32 vnet_hw_if_get_rx_queue_index_by_id ( vnet_main_t vnm,
u32  hw_if_index,
u32  queue_id 
)

Definition at line 54 of file rx_queue.c.

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

◆ vnet_hw_if_get_rx_queue_mode()

vnet_hw_if_rx_mode vnet_hw_if_get_rx_queue_mode ( vnet_main_t vnm,
u32  queue_index 
)

Definition at line 208 of file rx_queue.c.

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

◆ vnet_hw_if_get_rx_queue_numa_node()

static_always_inline u8 vnet_hw_if_get_rx_queue_numa_node ( vnet_main_t vnm,
u32  queue_index 
)

Definition at line 80 of file rx_queue_funcs.h.

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

◆ vnet_hw_if_get_rx_queue_thread_index()

static_always_inline u32 vnet_hw_if_get_rx_queue_thread_index ( vnet_main_t vnm,
u32  queue_index 
)

Definition at line 88 of file rx_queue_funcs.h.

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

◆ vnet_hw_if_get_rxq_poll_vector()

static_always_inline vnet_hw_if_rxq_poll_vector_t* vnet_hw_if_get_rxq_poll_vector ( vlib_main_t vm,
vlib_node_runtime_t node 
)

Definition at line 69 of file rx_queue_funcs.h.

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

◆ vnet_hw_if_register_rx_queue()

u32 vnet_hw_if_register_rx_queue ( vnet_main_t vnm,
u32  hw_if_index,
u32  queue_id,
u32  thread_idnex 
)

Definition at line 64 of file rx_queue.c.

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

◆ vnet_hw_if_rx_queue_set_int_pending()

static_always_inline void vnet_hw_if_rx_queue_set_int_pending ( vnet_main_t vnm,
u32  queue_index 
)

Definition at line 51 of file rx_queue_funcs.h.

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

◆ vnet_hw_if_rxq_cmp_cli_api()

static_always_inline int vnet_hw_if_rxq_cmp_cli_api ( vnet_hw_if_rx_queue_t **  a,
vnet_hw_if_rx_queue_t **  b 
)

Definition at line 95 of file rx_queue_funcs.h.

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

◆ vnet_hw_if_set_input_node()

void vnet_hw_if_set_input_node ( vnet_main_t vnm,
u32  hw_if_index,
u32  node_index 
)

Definition at line 157 of file rx_queue.c.

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

◆ vnet_hw_if_set_rx_queue_file_index()

void vnet_hw_if_set_rx_queue_file_index ( vnet_main_t vnm,
u32  queue_index,
u32  file_index 
)

Definition at line 144 of file rx_queue.c.

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

◆ vnet_hw_if_set_rx_queue_mode()

int vnet_hw_if_set_rx_queue_mode ( vnet_main_t vnm,
u32  queue_index,
vnet_hw_if_rx_mode  mode 
)

Definition at line 167 of file rx_queue.c.

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

◆ vnet_hw_if_set_rx_queue_thread_index()

void vnet_hw_if_set_rx_queue_thread_index ( vnet_main_t vnm,
u32  queue_index,
u32  thread_index 
)

Definition at line 215 of file rx_queue.c.

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

◆ vnet_hw_if_unregister_all_rx_queues()

void vnet_hw_if_unregister_all_rx_queues ( vnet_main_t vnm,
u32  hw_if_index 
)

Definition at line 122 of file rx_queue.c.

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

◆ vnet_hw_if_unregister_rx_queue()

void vnet_hw_if_unregister_rx_queue ( vnet_main_t vnm,
u32  queue_index 
)

Definition at line 99 of file rx_queue.c.

+ Here is the call graph for this function: