summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ib_sma.h
diff options
context:
space:
mode:
authorMichael Brown2009-08-03 18:47:55 +0200
committerMichael Brown2009-08-09 00:55:29 +0200
commit44251ebb9a9689329dd8f0cf571324cf07ad7e75 (patch)
treef55e21b90033e007fa08cb1b5f76771570cbe735 /src/include/gpxe/ib_sma.h
parent[infiniband] Add the concept of a management interface (diff)
downloadipxe-44251ebb9a9689329dd8f0cf571324cf07ad7e75.tar.gz
ipxe-44251ebb9a9689329dd8f0cf571324cf07ad7e75.tar.xz
ipxe-44251ebb9a9689329dd8f0cf571324cf07ad7e75.zip
[infiniband] Update subnet management agent to use a management interface
Diffstat (limited to 'src/include/gpxe/ib_sma.h')
-rw-r--r--src/include/gpxe/ib_sma.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/gpxe/ib_sma.h b/src/include/gpxe/ib_sma.h
new file mode 100644
index 00000000..78fc6729
--- /dev/null
+++ b/src/include/gpxe/ib_sma.h
@@ -0,0 +1,20 @@
+#ifndef _GPXE_IB_SMA_H
+#define _GPXE_IB_SMA_H
+
+/** @file
+ *
+ * Infiniband subnet management agent
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+struct ib_device;
+struct ib_mad_interface;
+
+extern int ib_create_sma ( struct ib_device *ibdev,
+ struct ib_mad_interface *mi );
+extern void ib_destroy_sma ( struct ib_device *ibdev,
+ struct ib_mad_interface *mi );
+
+#endif /* _GPXE_IB_SMA_H */