FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
input.c File Reference
+ Include dependency graph for input.c:

Go to the source code of this file.

Macros

#define foreach_rdma_input_error   _(BUFFER_ALLOC, "buffer alloc error")
 

Enumerations

enum  rdma_input_error_t { RDMA_INPUT_N_ERROR }
 

Functions

static_always_inline void rdma_device_input_refill (vlib_main_t *vm, rdma_device_t *rd, rdma_rxq_t *rxq)
 
static_always_inline void rdma_device_input_trace (vlib_main_t *vm, vlib_node_runtime_t *node, const rdma_device_t *rd, u32 n_left, const u32 *bi)
 
static_always_inline void rdma_device_input_ethernet (vlib_main_t *vm, vlib_node_runtime_t *node, const rdma_device_t *rd)
 
static_always_inline u32 rdma_device_input_load_wc (u32 n_left_from, struct ibv_wc *wc, u32 *to_next, u32 *bufsz)
 
static_always_inline void rdma_device_input_bufs_init (u32 n_left_from, vlib_buffer_t **bufs, u32 *bufsz, u32 sw_if_index)
 
static_always_inline uword rdma_device_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, rdma_device_t *rd, u16 qid)
 
VLIB_NODE_FN() rdma_input_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

static __clib_unused char * rdma_input_error_strings []
 
vlib_node_registration_t rdma_input_node
 (constructor) VLIB_REGISTER_NODE (rdma_input_node) More...
 

Macro Definition Documentation

◆ foreach_rdma_input_error

#define foreach_rdma_input_error   _(BUFFER_ALLOC, "buffer alloc error")

Definition at line 26 of file input.c.

Enumeration Type Documentation

◆ rdma_input_error_t

Enumerator
RDMA_INPUT_N_ERROR 

Definition at line 29 of file input.c.

Function Documentation

◆ rdma_device_input_bufs_init()

static_always_inline void rdma_device_input_bufs_init ( u32  n_left_from,
vlib_buffer_t **  bufs,
u32 bufsz,
u32  sw_if_index 
)

Definition at line 249 of file input.c.

+ Here is the caller graph for this function:

◆ rdma_device_input_ethernet()

static_always_inline void rdma_device_input_ethernet ( vlib_main_t vm,
vlib_node_runtime_t node,
const rdma_device_t rd 
)

Definition at line 172 of file input.c.

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

◆ rdma_device_input_inline()

static_always_inline uword rdma_device_input_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
rdma_device_t rd,
u16  qid 
)

Definition at line 296 of file input.c.

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

◆ rdma_device_input_load_wc()

static_always_inline u32 rdma_device_input_load_wc ( u32  n_left_from,
struct ibv_wc *  wc,
u32 to_next,
u32 bufsz 
)

Definition at line 195 of file input.c.

+ Here is the caller graph for this function:

◆ rdma_device_input_refill()

static_always_inline void rdma_device_input_refill ( vlib_main_t vm,
rdma_device_t rd,
rdma_rxq_t rxq 
)

Definition at line 44 of file input.c.

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

◆ rdma_device_input_trace()

static_always_inline void rdma_device_input_trace ( vlib_main_t vm,
vlib_node_runtime_t node,
const rdma_device_t rd,
u32  n_left,
const u32 bi 
)

Definition at line 142 of file input.c.

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

◆ rdma_input_node()

VLIB_NODE_FN() rdma_input_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 338 of file input.c.

+ Here is the call graph for this function:

Variable Documentation

◆ rdma_input_error_strings

__clib_unused char* rdma_input_error_strings[]
static
Initial value:
= {
#define _(n,s)
}
#define foreach_rdma_input_error
Definition: input.c:26

Definition at line 37 of file input.c.

◆ rdma_input_node

vlib_node_registration_t rdma_input_node
Initial value:
= {
.name = "rdma-input",
.sibling_of = "device-input",
.format_trace = format_rdma_input_trace,
.state = VLIB_NODE_STATE_DISABLED,
.n_errors = RDMA_INPUT_N_ERROR,
.error_strings = rdma_input_error_strings,
}
format_function_t format_rdma_input_trace
Definition: rdma.h:121
static __clib_unused char * rdma_input_error_strings[]
Definition: input.c:37

(constructor) VLIB_REGISTER_NODE (rdma_input_node)

Definition at line 358 of file input.c.