summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/ib_sma.h
blob: 38cb6a2d0f02f28f209946a9ea1c75501a83835d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _GPXE_IB_SMA_H
#define _GPXE_IB_SMA_H

/** @file
 *
 * Infiniband Subnet Management Agent
 *
 */

FILE_LICENCE ( GPL2_OR_LATER );

#include <gpxe/infiniband.h>
#include <gpxe/ib_gma.h>

/** An Infiniband Subnet Management Agent */
struct ib_sma {
	/** General management agent */
	struct ib_gma gma;
};

extern int ib_create_sma ( struct ib_sma *sma, struct ib_device *ibdev );
extern void ib_destroy_sma ( struct ib_sma *sma );

#endif /* _GPXE_IB_SMA_H */