iPXE
ib_smc.h
Go to the documentation of this file.
00001 #ifndef _IPXE_IB_SMC_H
00002 #define _IPXE_IB_SMC_H
00003 
00004 /** @file
00005  *
00006  * Infiniband Subnet Management Client
00007  *
00008  */
00009 
00010 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00011 
00012 #include <ipxe/infiniband.h>
00013 
00014 typedef int ( * ib_local_mad_t ) ( struct ib_device *ibdev,
00015                                    union ib_mad *mad );
00016 
00017 extern int ib_smc_init ( struct ib_device *ibdev, ib_local_mad_t local_mad );
00018 extern int ib_smc_update ( struct ib_device *ibdev, ib_local_mad_t local_mad );
00019 
00020 #endif /* _IPXE_IB_SMC_H */