SubnAdmGet() Operation

Background on the MAD's ComponentMask Field

An entity may issue a query to the SA requesting only records wherein the specified record element(s) match those supplied in the database query. The following example performs a SubnAdmGet(SwitchRecord) looking for any SwitchRecord with the SwitchInfo.LIDsPerPort element = 0008h (refer to Table 33-7 on page 938 and Table 29-4 on page 819):

  • The AttributeID identifies the record to be accessed (0014h specifies the SwitchRecord attribute).

  • Each specific record type contains one or more record elements. As an example, the SwitchInfo attribute (and therefore the SwitchRecord) contains 16 elements. “One bits” are placed in the 64-bit ComponentMask field in the bit positions corresponding ...

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.