summaryrefslogtreecommitdiffstats
path: root/src/plugins/rdma/rdma.h
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-10-15 10:51:11 +0200
committerDamjan Marion <dmarion@me.com>2019-10-16 18:35:51 +0000
commit812afe712b62484b4390fa048c76fe8bf4cd0a12 (patch)
tree4000e7ac4b27b572542177b3997a712c1f24be18 /src/plugins/rdma/rdma.h
parente8c9f4f1c07f41986c50a744eee8ed4897178fda (diff)
rdma: add rdma API
Type: feature Change-Id: I590612989cb3c114f8d99227ad36c3434e998597 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/rdma/rdma.h')
-rw-r--r--src/plugins/rdma/rdma.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/rdma/rdma.h b/src/plugins/rdma/rdma.h
index 0aae4985276..6e602cb31df 100644
--- a/src/plugins/rdma/rdma.h
+++ b/src/plugins/rdma/rdma.h
@@ -20,6 +20,9 @@
#include <infiniband/verbs.h>
#include <vlib/log.h>
+#include <vlib/pci/pci.h>
+#include <vnet/interface.h>
+#include <vnet/ethernet/mac_address.h>
#define foreach_rdma_device_flags \
_(0, ERROR, "error") \
@@ -94,6 +97,7 @@ typedef struct
{
rdma_device_t *devices;
vlib_log_class_t log_class;
+ u16 msg_id_base;
} rdma_main_t;
extern rdma_main_t rdma_main;
@@ -118,10 +122,10 @@ void rdma_delete_if (vlib_main_t * vm, rdma_device_t * rd);
extern vlib_node_registration_t rdma_input_node;
extern vnet_device_class_t rdma_device_class;
-/* format.c */
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;
typedef struct
{