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

Inherits MadTest.

Public Member Functions

 C14_024_13_3 ()
 
boolean execute () throws TestException
 

Protected Member Functions

boolean initialize () throws TestException
 

Detailed Description

24.1.5.16.3 SMINFO TEST FOR UNSUPPORTED ATTRIBUTE

24.1.5.16 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - SMINFO

Abstract: This test performs checks of SMInfo attribute and components.

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

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

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_13_3()

24.1.5.16.3 SMINFO TEST FOR UNSUPPORTED ATTRIBUTE

Assertions: v1c13-024#05, v1c14-024.1.1#13.01, v1c14-031#01, v1c14-070#01, v1c14-070#03

Notes:

  1. During the proceding TD the DUT is assumed to not support SMInfo.
  2. Variable PORT_INFO_CAP_MSK of type Integer.
  3. Variable PORT_GUID of type Integer.
  4. Variable NUM_OF_PORTS of type Integer.
  5. SMP_DATA is variable of type MadPacketSpec

Developer: Keving King

Test Procedure

◆ initialize()

boolean initialize ( ) throws TestException
protected

Initialization:

  1. PortInfo:PortState is initialized to ACTIVE for both MADTester and DUT.

◆ execute()

boolean execute ( ) throws TestException

Test Procedure:

  1. SendMad (SubnGet(PortInfo) )

  2. ReceiveMad (SubnGetResp(PortInfo))

  3. Verify If PORT_INFO_CAP_MSK.IsSMDisabled == 1 then PORT_INFO_CAP_MSK.IsSM == 0 // v1c14-070#03

  4. Verify (PORT_INFO_CAP_MSK.IsSM == 0) // v1c14-024.1.1#13.01

    • Remark: SMInfo is not supported by the port , if SMInfo supported then exit the test.

  5. SendMad (SubnGet(SMInfo))

  6. If (PORT_INFO_CAP_MSK.IsSMDisabled == 1) Then VerifyNoReceiveMad(SubnGetResp(SMInfo)// v1c14-070#01

  7. Else If (SMP_DATA = ReceiveMad (SubnGetResp(SMInfo))) Then

    • Remark: If IsSMDisabled == 0 there might or might not be a response , If a response came it must meet certain criteria.

  8. Verify SMP_DATA format:

    • MADHeader:AttributeID == SMInfo
    • MADHeader:TransactionID - same as was sent by request // v1c14-031#01
    • SMP_DATA.MADHeader:Status.Code == 2 // v1c13-024#05

  9. Else

  10. VerifyNoReceiveMad(SubnGetResp(SMInfo)

    • Remark: The ReceiveMAD timed out , but that is okay , just do nothing.

  11. End If

  12. SendMad (SubnSet(SMInfo))

  13. If (PORT_INFO_CAP_MSK.IsSMDisabled == 1) Then VerifyNoReceiveMad(SubnGetResp(SMInfo)// v1c14-070#01

  14. Else If (SMP_DATA = ReceiveMad (SubnGetResp(SMInfo))) Then

    • Remark: If IsSMDisabled == 0 there might or might not be a response , If a response came it must meet certain criteria.

  15. Verify SMP_DATA format:

    • MADHeader:AttributeID == SMInfo
    • MADHeader:TransactionID - same as was sent by request // v1c14-031#01
    • SMP_DATA.MADHeader:Status.Code == 2 // v1c13-024#05

  16. Else

  17. VerifyNoReceiveMad(SubnGetResp(SMInfo)

    • Remark: The ReceiveMAD timed out , but that is okay , just do nothing.

  18. End If


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