diff options
author | Michael Brown | 2016-03-09 09:41:53 +0100 |
---|---|---|
committer | Michael Brown | 2016-03-09 09:43:40 +0100 |
commit | 5bcaa1e4d4217911ef7c557a1da49b6248161e80 (patch) | |
tree | 750ae91b8fd826b04d159caa52f144e67fcd2a0d /src/config/config_infiniband.c | |
parent | [ifmgmt] Include human-readable error message for configuration failure (diff) | |
download | ipxe-5bcaa1e4d4217911ef7c557a1da49b6248161e80.tar.gz ipxe-5bcaa1e4d4217911ef7c557a1da49b6248161e80.tar.xz ipxe-5bcaa1e4d4217911ef7c557a1da49b6248161e80.zip |
[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>
Diffstat (limited to 'src/config/config_infiniband.c')
-rw-r--r-- | src/config/config_infiniband.c | 7 |
1 files changed, 7 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 |