FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
rdma.h File Reference
+ Include dependency graph for rdma.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rdma_rxq_t
 
struct  rdma_txq_t
 
struct  rdma_device_t
 
struct  rdma_main_t
 
struct  rdma_create_if_args_t
 
struct  rdma_input_trace_t
 

Macros

#define foreach_rdma_device_flags
 
#define foreach_rdma_tx_func_error   _(NO_FREE_SLOTS, "no free tx slots")
 

Enumerations

enum  { foreach_rdma_device_flags }
 
enum  rdma_mode_t { RDMA_MODE_AUTO = 0, RDMA_MODE_IBV, RDMA_MODE_DV }
 
enum  rdma_tx_func_error_t { RDMA_TX_N_ERROR }
 

Functions

void rdma_create_if (vlib_main_t *vm, rdma_create_if_args_t *args)
 
void rdma_delete_if (vlib_main_t *vm, rdma_device_t *rd)
 

Variables

rdma_main_t rdma_main
 
vlib_node_registration_t rdma_input_node
 (constructor) VLIB_REGISTER_NODE (rdma_input_node) More...
 
vnet_device_class_t rdma_device_class
 
format_function_t format_rdma_device
 
format_function_t format_rdma_device_name
 
format_function_t format_rdma_input_trace
 
unformat_function_t unformat_rdma_create_if_args
 

Macro Definition Documentation

◆ foreach_rdma_device_flags

#define foreach_rdma_device_flags
Value:
_(0, ERROR, "error") \
_(1, ADMIN_UP, "admin-up") \
_(2, LINK_UP, "link-up") \
_(3, PROMISC, "promiscuous")

Definition at line 27 of file rdma.h.

◆ foreach_rdma_tx_func_error

#define foreach_rdma_tx_func_error   _(NO_FREE_SLOTS, "no free tx slots")

Definition at line 144 of file rdma.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
foreach_rdma_device_flags 

Definition at line 33 of file rdma.h.

◆ rdma_mode_t

Enumerator
RDMA_MODE_AUTO 
RDMA_MODE_IBV 
RDMA_MODE_DV 

Definition at line 105 of file rdma.h.

◆ rdma_tx_func_error_t

Enumerator
RDMA_TX_N_ERROR 

Definition at line 147 of file rdma.h.

Function Documentation

◆ rdma_create_if()

void rdma_create_if ( vlib_main_t vm,
rdma_create_if_args_t args 
)

Definition at line 580 of file device.c.

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

◆ rdma_delete_if()

void rdma_delete_if ( vlib_main_t vm,
rdma_device_t rd 
)

Definition at line 730 of file device.c.

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

Variable Documentation

◆ format_rdma_device

format_function_t format_rdma_device

Definition at line 133 of file rdma.h.

◆ format_rdma_device_name

format_function_t format_rdma_device_name

Definition at line 134 of file rdma.h.

◆ format_rdma_input_trace

format_function_t format_rdma_input_trace

Definition at line 135 of file rdma.h.

◆ rdma_device_class

vnet_device_class_t rdma_device_class

◆ rdma_input_node

vlib_node_registration_t rdma_input_node

(constructor) VLIB_REGISTER_NODE (rdma_input_node)

Definition at line 361 of file input.c.

◆ rdma_main

rdma_main_t rdma_main

Definition at line 46 of file device.c.

◆ unformat_rdma_create_if_args

unformat_function_t unformat_rdma_create_if_args

Definition at line 136 of file rdma.h.