mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 10:01:03 +03:00
[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:
@@ -38,6 +38,13 @@ PROVIDE_REQUIRING_SYMBOL();
|
|||||||
REQUIRE_OBJECT ( ib_srp );
|
REQUIRE_OBJECT ( ib_srp );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Drag in Infiniband-specific virtual network devices
|
||||||
|
*/
|
||||||
|
#ifdef VNIC_IPOIB
|
||||||
|
REQUIRE_OBJECT ( ipoib );
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Drag in Infiniband-specific commands
|
* Drag in Infiniband-specific commands
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -153,6 +153,12 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
|||||||
#undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
|
#undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
|
||||||
#define AUTOBOOT_ROM_FILTER /* Autoboot only devices matching our ROM */
|
#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
|
* Error message tables to include
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1052,6 +1052,3 @@ REQUIRING_SYMBOL ( register_ibdev );
|
|||||||
|
|
||||||
/* Drag in Infiniband configuration */
|
/* Drag in Infiniband configuration */
|
||||||
REQUIRE_OBJECT ( config_infiniband );
|
REQUIRE_OBJECT ( config_infiniband );
|
||||||
|
|
||||||
/* Drag in IPoIB */
|
|
||||||
REQUIRE_OBJECT ( ipoib );
|
|
||||||
|
|||||||
Reference in New Issue
Block a user