Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / ipxe / src / include / ipxe / ib_smc.h
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 );
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 */