1 #ifndef _IPXE_IB_SMC_H 2 #define _IPXE_IB_SMC_H 3 4 /** @file 5 * 6 * Infiniband Subnet Management Client 7 * 8 */ 9 10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); 11 12 #include <ipxe/infiniband.h> 13 14 typedef int ( * ib_local_mad_t ) ( struct ib_device *ibdev, 15 union ib_mad *mad ); 16 17 extern int ib_smc_init ( struct ib_device *ibdev, ib_local_mad_t local_mad ); 18 extern int ib_smc_update ( struct ib_device *ibdev, ib_local_mad_t local_mad ); 19 20 #endif /* _IPXE_IB_SMC_H */ 21