InfiniBand Test Specification
1.0.38
|
Inherits MadTest.
Public Member Functions | |
C14_024_08_04 () | |
boolean | execute () throws TestException |
Protected Member Functions | |
boolean | initialize () throws TestException |
24.1.5.18.2 SLTOVLMAPPINGTABLE FOR SWITCH ONLY FOR UNSUPPORTED ATTRIBUTE
24.1.5.18 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - SLTOVLMAPPINGTABLE FOR SWITCH ONLY
Abstract: This test performs checks of SLtoVLMappingTable attribute and components for Switch only. Included are tests for both Read-Only (RO) and Read-Write (RW) attribute components.
Coverage: v1c14-024.1.1
Topology Configuration: SimpleLink: Tester=MAD Tester; Width=1X, 2X, 4X, 8X, or 12X; Speed=SDR, DDR, r QDR; DUT=Switch.
DUT Qualifiers: None, unless specified in algorithm section.
Notes:
C14_024_08_04 | ( | ) |
24.1.5.18.2 SLTOVLMAPPINGTABLE FOR SWITCH ONLY FOR UNSUPPORTED ATTRIBUTE
Assertions: v1c14-024.1.1#08.01, v1c14-024.1.1#08.02, v1c14-024.1.1#08.03, v1c14-024.1.1#08.04
Notes: Execute this test for Switch Only (including Switch Management Port).
Developer: Kevin King
|
protected |
Initialization:
PortInfo:PortState is Initialized, Armed or Active for both MADTester and DUT.
boolean execute | ( | ) | throws TestException |
Test Procedure:
SendMad (SubnGet(NodeInfo))
SMP_DATA = ReceiveMad (SubnGetResp(NodeInfo))
NUMBER_OF_PORTS = ReceiveMad (SubnGetResp(NodeInfo):NumPorts)
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = 0))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
Verify SMP_DATA:CapabilityMask[IsSLMappingSupported] == 1
SendMad (SubnGet(SwitchInfo))
If (ReceiveMad (SubnGetResp(SwitchInfo):EnhancedPort0) == 1) Then
Tester Procedure steps 12 to 22 should be repeated for all legal values of both fields in SLtoVLMappingTable AttributeModifier (AttributeModifier[15:8] gets 0 to number of switch physical ports, AttributeModifier[7:0] gets ENHANCED_PORT_0_SUPPORTED to number of switch physical ports) and any values in SLtoVL entries(means in or out of the range set for the port in the PORT_VL_CAP - there is no meaning to these values in the attribute aspect).
SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = as specified))
SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))
PORT_VL_CAP = SMP_DATA:VLCap
Verify PORT_VL_CAP == 1 // v1c14-024.1.1#08.02
SendMad (SubnGet(SLtoVLMappingTable where MADHeader:Attribute-Modifier[7:0] = ENHANCED_PORT_0_SUPPORTED - NUMBER_OF_PORTS, MADHeader:AttributeModifier[15:8] = 0 - NUMBER_OF_PORTS, MADHeader:AttributeModifier[31:16] = 0))
SMP_DATA = ReceiveMad (SubnGetResp(SLtoVLMappingTable))
Verify SMP_DATA format: // v1c14-024.1.1#08.01, v1c14-024.1.1#08.03
SL_TO_VL_BLOCK1 = MADHeader:MADData.
SendMad (SubnSet(SLtoVLMappingTable where MADHeader:AttributeModifier[7:0] as specified above, MADHeader:AttributeModifier[15:8] as specified above, MADHeader:AttributeModifier[31:16] = 0))
SMP_DATA = ReceiveMad (SubnGetResp(SLtoVLMappingTable))
Verify SMP_DATA format: // v1c14-024.1.1#08.01, v1c14-024.1.1#08.04
Verify that the response contains the new values.