FD.io VPP  v19.08.3-2-gbabecb413
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_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
 

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 24 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 132 of file rdma.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
foreach_rdma_device_flags 

Definition at line 30 of file rdma.h.

◆ rdma_tx_func_error_t

Enumerator
RDMA_TX_N_ERROR 

Definition at line 135 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 717 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 122 of file rdma.h.

◆ format_rdma_device_name

format_function_t format_rdma_device_name

Definition at line 123 of file rdma.h.

◆ format_rdma_input_trace

format_function_t format_rdma_input_trace

Definition at line 124 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.