summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_infiniband.c7
-rw-r--r--src/config/general.h6
2 files changed, 13 insertions, 0 deletions
diff --git a/src/config/config_infiniband.c b/src/config/config_infiniband.c
index 8c63fb00..9bac3b7c 100644
--- a/src/config/config_infiniband.c
+++ b/src/config/config_infiniband.c
@@ -39,6 +39,13 @@ REQUIRE_OBJECT ( ib_srp );
#endif
/*
+ * Drag in Infiniband-specific virtual network devices
+ */
+#ifdef VNIC_IPOIB
+REQUIRE_OBJECT ( ipoib );
+#endif
+
+/*
* Drag in Infiniband-specific commands
*/
#ifdef IBMGMT_CMD
diff --git a/src/config/general.h b/src/config/general.h
index dba41212..9c433039 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -154,6 +154,12 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define AUTOBOOT_ROM_FILTER /* Autoboot only devices matching our ROM */
/*
+ * Virtual network devices
+ *
+ */
+#define VNIC_IPOIB /* Infiniband IPoIB virtual NICs */
+
+/*
* Error message tables to include
*
*/