iPXE
|
Infiniband service records. More...
#include <string.h>
#include <stdio.h>
#include <byteswap.h>
#include <ipxe/infiniband.h>
#include <ipxe/ib_mi.h>
#include <ipxe/ib_service.h>
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
struct ib_mad_transaction * | ib_create_service_madx (struct ib_device *ibdev, struct ib_mad_interface *mi, const char *name, struct ib_mad_transaction_operations *op) |
Create service record management transaction. More... | |
Infiniband service records.
Definition in file ib_service.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
struct ib_mad_transaction* ib_create_service_madx | ( | struct ib_device * | ibdev, |
struct ib_mad_interface * | mi, | ||
const char * | name, | ||
struct ib_mad_transaction_operations * | op | ||
) |
Create service record management transaction.
ibdev | Infiniband device |
mi | Management interface |
name | Service name |
op | Management transaction operations |
madx | Management transaction, or NULL on error |
Definition at line 49 of file ib_service.c.
References htonl, htons, ib_create_madx(), IB_MGMT_CLASS_SUBN_ADM, IB_MGMT_METHOD_GET, IB_SA_ATTR_SERVICE_REC, IB_SA_CLASS_VERSION, IB_SA_SERVICE_REC_NAME, mad, memset(), ib_service_record::name, name, NULL, op, ib_mad::sa, sa, and snprintf().
Referenced by xsigo_discover().