SubnAdmSet() Operation

This operation is used to add or delete a single record. It cannot be used to edit a preexistent record.

Adding a Record

A record is added to the database by performing a SubnAdmSet() operation with the following characteristics:

  • The AttributeID specifies the type of record being added (see Table 33-4 on page 927).

  • The Edit Modifier = Add (see Table 33-2 on page 920).

  • The AttributeModifier = 00000000h.

  • The Admin Data Area contains the complete record to be added (without a RID).

The SA adds the record to the database and, in the resulting SubnAdmGetResp(), returns the record along with its RID in the Admin Data Area.

The SA_Key is ignored and the SA_Key returned in the SubAdmGetResp() = 0. The following MAD elements are set ...

Get InfiniBand Network Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.