iPXE
ib_sma.h File Reference

Infiniband subnet management agent. More...

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
int ib_create_sma (struct ib_device *ibdev, struct ib_mad_interface *mi)
 Create subnet management agent and interface.
void ib_destroy_sma (struct ib_device *ibdev, struct ib_mad_interface *mi)

Detailed Description

Infiniband subnet management agent.

Definition in file ib_sma.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ ib_create_sma()

int ib_create_sma ( struct ib_device * ibdev,
struct ib_mad_interface * mi )
extern

Create subnet management agent and interface.

Parameters
ibdevInfiniband device
miManagement interface
Return values
rcReturn status code

Definition at line 358 of file ib_sma.c.

358 {
359
360 /* Nothing to do */
361 DBGC ( ibdev, "IBDEV %s SMA using SMI %p\n", ibdev->name, mi );
362
363 return 0;
364}
#define DBGC(...)
Definition compiler.h:505
char name[IBDEV_NAME_LEN]
Name of this Infiniband device.
Definition infiniband.h:409

References DBGC, and ib_device::name.

Referenced by ib_open().

◆ ib_destroy_sma()

void ib_destroy_sma ( struct ib_device * ibdev,
struct ib_mad_interface * mi )
extern