summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/ib_smc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/ib_smc.h')
-rw-r--r--src/include/ipxe/ib_smc.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/ipxe/ib_smc.h b/src/include/ipxe/ib_smc.h
new file mode 100644
index 00000000..d16a37fa
--- /dev/null
+++ b/src/include/ipxe/ib_smc.h
@@ -0,0 +1,20 @@
+#ifndef _IPXE_IB_SMC_H
+#define _IPXE_IB_SMC_H
+
+/** @file
+ *
+ * Infiniband Subnet Management Client
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+#include <ipxe/infiniband.h>
+
+typedef int ( * ib_local_mad_t ) ( struct ib_device *ibdev,
+ union ib_mad *mad );
+
+extern int ib_smc_update ( struct ib_device *ibdev,
+ ib_local_mad_t local_mad );
+
+#endif /* _IPXE_IB_SMC_H */