21 #include <infiniband/verbs.h> 27 #define foreach_rdma_device_flags \ 28 _(0, ERROR, "error") \ 29 _(1, ADMIN_UP, "admin-up") \ 30 _(2, LINK_UP, "link-up") \ 31 _(3, PROMISC, "promiscuous") 35 #define _(a, b, c) RDMA_DEVICE_F_##b = (1 << a), 85 struct ibv_context *
ctx;
144 #define foreach_rdma_tx_func_error \ 145 _(NO_FREE_SLOTS, "no free tx slots") 149 #define _(f,s) RDMA_TX_ERROR_##f,
#define CLIB_CACHE_LINE_ALIGN_MARK(mark)
void rdma_delete_if(vlib_main_t *vm, rdma_device_t *rd)
format_function_t format_rdma_device
void rdma_create_if(vlib_main_t *vm, rdma_create_if_args_t *args)
vlib_pci_device_info_t * pci
u32 per_interface_next_index
format_function_t format_rdma_input_trace
struct _vnet_device_class vnet_device_class_t
vlib_log_class_t log_class
unformat_function_t unformat_rdma_create_if_args
struct ibv_rwq_ind_table * rx_rwq_ind_tbl
vlib_node_registration_t rdma_input_node
(constructor) VLIB_REGISTER_NODE (rdma_input_node)
format_function_t format_rdma_device_name
vnet_device_class_t rdma_device_class
struct _vlib_node_registration vlib_node_registration_t
u32 async_event_clib_file_index
#define foreach_rdma_tx_func_error
#define foreach_rdma_device_flags
struct ibv_flow * flow_ucast
struct ibv_flow * flow_mcast