A detailed description of SM methods, attributes, and modifiers can be found in “SM Methods and Attributes” on page 809. Additional information on the SM can be found in the following chapters:
“Multiple SMs” on page 851.
“Discovery” on page 871.
Once the Master SM has assigned LID addresses to all ports in the subnet, SMP's may be transmitted in the same manner as any normal packet: switch Forwarding Tables use the packet's LRH:DLID to guide the packet to the destination port. In that case, the 256-byte MAD encapsulated in the SMP's data payload field has the format shown in Table 28-5 on page 788.
Dword | Byte 0 | Byte 1 | Byte 2 | Byte 3 | ||
---|---|---|---|---|---|---|
0 | Base MAD Header | Base Version=01h | Management Class = Lid-routed Subn (01h) | Class Version=01h | R | SM Method (see Table 27-1 on page 774). |
1 | Status is only meaningful in response packets. See Table 27-2 on page 776. | Not used | ||||
2 | Transaction ID | |||||
3 | ||||||
4 | SM AttributeID | Reserved | ||||
5 | AttributeModifier | |||||
6 | SMP- specific fields | M_Key | ||||
7 | ||||||
8–15 | 32 bytes Reserved | |||||
16–31 | 64 bytes of SMP Data [Attribute content on a SubnGetResp()] | |||||
32–63 | 64 bytes Reserved |
In some situations, the SM must transmit a request MAD to a destination device when the path to the destination port has not yet been fully configured. Only some, or none, of the switches in the path have valid Forwarding Tables, and the destination port may or may not have had a LID address assigned to it yet.
In this case, the MAD encapsulated in the SMP's data payload field has the format shown in Table 28-6 on page 789 and is referred to as a directed-route SMP.
A detailed description of directed-route SMP usage can be found in “Discovery” on page 871.
Dword | Byte 0 | Byte 1 | Byte 2 | Byte 3 | |||
---|---|---|---|---|---|---|---|
0 | Base MAD Header | Base Version=01h | Management Class = Directed-Route Subn (81h) | Class Version=01h | R | SM Method (see “SM Methods and Attributes” on page 809). | |
1 | D | Status (only meaningful in response packets) | Hop Pointer | Hop Count | |||
2 | Transaction ID | ||||||
3 | |||||||
4 | SM AttributeID | Reserved | |||||
5 | AttributeModifier | ||||||
6 | SMP- specific fields | M_Key | |||||
7 | |||||||
8 | DrSLID | DrDLID | |||||
9–15 | 28 bytes Reserved | ||||||
16–31 | 64 bytes of SMP Data [Attribute content on a SubnGetResp()] | ||||||
32–63 | 64 bytes Reserved |