summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2016-03-08 16:49:52 +0100
committerMichael Brown2016-03-08 18:38:06 +0100
commit299fdabe4848fae1bd4403836e21964c754ea9ef (patch)
tree82ddfc8ec939d5b46ece9863649b0f0d9e4485b0 /src/config
parent[infiniband] Assign names to queue pairs (diff)
downloadipxe-299fdabe4848fae1bd4403836e21964c754ea9ef.tar.gz
ipxe-299fdabe4848fae1bd4403836e21964c754ea9ef.tar.xz
ipxe-299fdabe4848fae1bd4403836e21964c754ea9ef.zip
[infiniband] Add "ibstat" command
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_infiniband.c7
-rw-r--r--src/config/general.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/config/config_infiniband.c b/src/config/config_infiniband.c
index a742e755..8c63fb00 100644
--- a/src/config/config_infiniband.c
+++ b/src/config/config_infiniband.c
@@ -37,3 +37,10 @@ PROVIDE_REQUIRING_SYMBOL();
#ifdef SANBOOT_PROTO_IB_SRP
REQUIRE_OBJECT ( ib_srp );
#endif
+
+/*
+ * Drag in Infiniband-specific commands
+ */
+#ifdef IBMGMT_CMD
+REQUIRE_OBJECT ( ibmgmt_cmd );
+#endif
diff --git a/src/config/general.h b/src/config/general.h
index ee15f6bf..dba41212 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -120,6 +120,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define CONFIG_CMD /* Option configuration console */
#define IFMGMT_CMD /* Interface management commands */
#define IWMGMT_CMD /* Wireless interface management commands */
+#define IBMGMT_CMD /* Infiniband management commands */
#define FCMGMT_CMD /* Fibre Channel management commands */
#define ROUTE_CMD /* Routing table management commands */
#define IMAGE_CMD /* Image management commands */