FD.io VPP  v19.04.4-rc0-5-ge88582fac
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, INITIALIZED, "initialized") \
_(1, ERROR, "error") \
_(2, ADMIN_UP, "admin-up") \
_(3, VA_DMA, "vaddr-dma") \
_(4, LINK_UP, "link-up") \
_(5, SHARED_TXQ_LOCK, "shared-txq-lock") \
_(6, ELOG, "elog") \
#define ELOG(em, f, data)
Definition: elog.h:474

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 129 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_tx_func_error_t

Enumerator
RDMA_TX_N_ERROR 

Definition at line 132 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 481 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 603 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 119 of file rdma.h.

◆ format_rdma_device_name

format_function_t format_rdma_device_name

Definition at line 120 of file rdma.h.

◆ format_rdma_input_trace

format_function_t format_rdma_input_trace

Definition at line 121 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 358 of file input.c.

◆ rdma_main

rdma_main_t rdma_main

Definition at line 46 of file device.c.