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

Inherits MadTest.

Public Member Functions

 C14_024_08_02 ()
 
boolean execute () throws TestException
 

Protected Member Functions

boolean initialize () throws TestException
 

Detailed Description

24.1.5.7.2 SLTOVLMAPPINGTABLE FOR XCA AND ROUTER ONLY FOR UNSUPPORTED 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_02()

24.1.5.7.2 SLTOVLMAPPINGTABLE FOR XCA AND ROUTER ONLY FOR UNSUPPORTED ATTRIBUTE

Assertions: v1c13-024#06, v1c14-024.1.1#08.01, v1c14-024.1.1#08.02, 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] == 0

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

  5. Verify PORT_VL_CAP == 1 // v1c14-024.1.1#08.02

    • Remark: If SL Mapping is not supported by the device than the device sup- ports the minimum required , means only 1 VL.

  6. SendMad (SubnGet(SLtoVLMappingTable))

  7. SMP_DATA = ReceiveMad (SubnGetResp(SLtoVLMappingTable))

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

    • MADHeader:AttributeID == SLtoVLMappingTable
    • MADHeader:TransactionID equals the SubnSet(SLtoVLMappingTable) TransactionID // v1c14-031#01
    • Note: TRID verification done in receivemad() in CTS
    • MADHeader:Status.Code == 3 // v1c13-024#06

  9. SLtoVL_BLOCK set to any 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:TransactionID equals the SubnSet(SLtoVLMappingTable) TransactionID // v1c14-031#01
    • Note: trid verification done in receivemad()
    • MADHeader:Status.Code == 3 // v1c13-024#06


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