summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ib_cm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gpxe/ib_cm.h')
-rw-r--r--src/include/gpxe/ib_cm.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/include/gpxe/ib_cm.h b/src/include/gpxe/ib_cm.h
new file mode 100644
index 00000000..a4446224
--- /dev/null
+++ b/src/include/gpxe/ib_cm.h
@@ -0,0 +1,21 @@
+#ifndef _GPXE_IB_CM_H
+#define _GPXE_IB_CM_H
+
+/** @file
+ *
+ * Infiniband communication management
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+#include <gpxe/infiniband.h>
+
+extern int ib_cm_connect ( struct ib_queue_pair *qp, struct ib_gid *dgid,
+ struct ib_gid_half *service_id,
+ void *private_data, size_t private_data_len,
+ void ( * notify ) ( struct ib_queue_pair *qp,
+ int rc, void *private_data,
+ size_t private_data_len ) );
+
+#endif /* _GPXE_IB_CM_H */