InfiniBand Test Specification  1.0.38
Public Member Functions | Protected Member Functions | List of all members
C14_024_08_01

Inherits MadTest.

Public Member Functions

 C14_024_08_01 ()
 
boolean execute () throws TestException
 

Protected Member Functions

boolean initialize () throws TestException
 

Detailed Description

24.1.5.7.1 SLTOVLMAPPINGTABLE FOR XCA AND ROUTER ONLY - SUPPORTED ATTRIBUTE

24.1.5.7 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - SLTOVLMAPPINGTABLE FOR XCA OR ROUTER

Abstract: This test performs checks of SLtoVLMappingTable attribute and components for xCA or Router. Included are tests for both Read-Only (RO) and Read-Write (RW) attribute components.

Coverage: v1c13-024,v1c14-024.1.1,v1c14-031

Topology Configuration: SimpleLink: Tester=MAD Tester; Width=1X, 2X, 4X, 8X, or 12X; Speed=SDR, DDR, QDR, FDR, EDR, HDR; DUT=xCA or Router.

DUT Qualifiers: None, unless specified in algorithm section.

Notes:

  1. Additional checking of method/attribute combinations is performed in tests for v1c14-003.

Test Case Description

◆ C14_024_08_01()

24.1.5.7.1 SLTOVLMAPPINGTABLE FOR XCA AND ROUTER ONLY - SUPPORTED ATTRIBUTE

Assertions: v1c13-024#01 (cont), v1c14-024.1.1#08.01, v1c14-024.1.1#08.03, v1c14-024.1.1#08.04, v1c14-031#01

Notes: Execute this test for xCA and Router only.

  1. PORT_VL_CAP is variable of type Integer.
  2. SLtoVL_BLOCK, SLtoVL_BLOCK1 are variables of 16 entries of type Integer.
  3. SMP_DATA is variable of type MadPacketSpec

Developer: Kevin King

Test Procedure

◆ initialize()

boolean initialize ( ) throws TestException
protected

Initialization:

  1. PortInfo:PortState is Initialized, Armed or Active for both MADTester and DUT.

◆ execute()

boolean execute ( ) throws TestException

Test Procedure:

  1. SendMad (SubnGet(PortInfo where MADHeader:AttributeModifier = 0))

  2. SMP_DATA = ReceiveMad (SubnGetResp(PortInfo))

  3. PORT_VL_CAP = SMP_DATA:VLCap

  4. Verify SMP_DATA:CapabilityMask[IsSLMappingSupported] == 1

    • Remark: SL Mapping should be supported by the xCA , if not supported terminate the test.

  5. SendMad (SubnGet(SLtoVLMappingTable))

  6. SMP_DATA = ReceiveMad (SubnGetResp(SLtoVLMappingTable))

  7. Verify SMP_DATA format: // v1c14-024.1.1#08.01, v1c14-024.1.1#08.03

    • MADHeader:AttributeID == SLtoVLMappingTable
    • MADHeader:Status.Code == 0 // v1c13-024#01
    • MADHeader:TransactionID equals the SubnGet(SLtoVLMappingTable) TransactionID // v1c14-031#01
    • Note: TRID verification already done as part of ReceiveMad() in CTS

  8. SLtoVL_BLOCK1 = MADHeader:MADData.

  9. SLtoVL_BLOCK = any values which are not equal to SLtoVL_BLOCK1 values.

  10. SendMad (SubnSet(SLtoVLMappingTable where SLtoVL_BLOCK set as specified))

  11. SMP_DATA = ReceiveMad (SubnGetResp(SLtoVLMappingTable))

  12. Verify SMP_DATA format: // v1c14-024.1.1#08.01, v1c14-024.1.1#08.04

    • MADHeader:AttributeID == SLtoVLMappingTable
    • MADHeader:Status.Code == 0 // v1c13-024#01
    • MADHeader:MADData == SLtoVL_BLOCK
    • Remark: If SL_TO_VL_BLOCK contain any entry which is above the PortInfo:OperationalVLs then this entry may be equal to the entry in the SL_TO_VL_BLOCK or to VL15
    • MADHeader:TransactionID equals the SubnSet(SLtoVLMappingTable) TransactionID // v1c14-031#01


The documentation for this class was generated from the following file: