[infiniband] Make IPoIB support configurable at build time

Add a build configuration option VNIC_IPOIB to control whether or not
IPoIB support is included for Infiniband devices.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2016-03-09 08:41:53 +00:00
parent 8290a10aba
commit 5bcaa1e4d4
3 changed files with 13 additions and 3 deletions

View File

@@ -38,6 +38,13 @@ PROVIDE_REQUIRING_SYMBOL();
REQUIRE_OBJECT ( ib_srp );
#endif
/*
* Drag in Infiniband-specific virtual network devices
*/
#ifdef VNIC_IPOIB
REQUIRE_OBJECT ( ipoib );
#endif
/*
* Drag in Infiniband-specific commands
*/