Files
ipxe/src/include/gpxe/ib_smc.h
Michael Brown 663904a7bc [infiniband] Split subnet management agent client out into ib_smc.c
Not all Infiniband cards have embedded subnet management agents.
Split out the code that communicates with such an embedded SMA into a
separate ib_smc.c file, and have drivers call ib_smc_update()
explicitly when they suspect that the answers given by the embedded
SMA may have changed.
2008-11-11 05:31:07 +00:00

19 lines
341 B
C

#ifndef _GPXE_IB_SMC_H
#define _GPXE_IB_SMC_H
/** @file
*
* Infiniband Subnet Management Client
*
*/
#include <gpxe/infiniband.h>
typedef int ( * ib_local_mad_t ) ( struct ib_device *ibdev,
union ib_mad *mad );
extern int ib_smc_update ( struct ib_device *ibdev,
ib_local_mad_t local_mad );
#endif /* _GPXE_IB_SMC_H */