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

Inherits MadTest.

Public Member Functions

 C14_024_PortInfo_LocalPortNum ()
 
boolean execute () throws TestException
 

Protected Member Functions

boolean initialize () throws TestException
 

Detailed Description

14.1.5.20 PORTINFO LOCALPORTNUM TEST

Abstract: This test verifies that the device returns the correct Port through which the MAD entered.

Coverage: v1c14-024.1.1

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

DUT Qualifiers: None.

Notes: None.

Test Case Description

◆ C14_024_PortInfo_LocalPortNum()

14.1.5.20 PORTINFO LOCALPORTNUM TEST

Assertions: v1c14-024.1.1#06.01, v1c14-024.1.1#06.02, v1c14-024.1.1#06.10

Notes: None.

Initialization:

  1. PortInfo:PortState is Initialized, Armed or Active for both MADTester and DUT.
  2. All Ports M_Key should remain as zero during the period of this test.
  3. SMP_DATA is variable of type MadPacketSpec
  4. Variable NUMBER_OF_PORTS of type Integer.

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

Tester Procedure:

  1. SendMad (SubnGet(NodeInfo))

  2. NUMBER_OF_PORTS = ReceiveMad ( SubnGetResp(NodeInfo):MAD- Header:MADData.NumPorts )

  3. Tester Procedures steps 4 to 6 should be repeated for all values from 0 to NUMBER_OF_PORTS.

  4. SendMad (SubnGet(PortInfo) where AttributeModifier = as specified)

  5. SMP_DATA = ReceiveMad ( SubnGetResp(PortInfo) ) // v1c14-024.1.1#06.01, v1c14-024.1.1#06.02

  6. Verify the following:

    • MADHeader:SMPDate.LocalPortNum == Number of link port which received this SMP // v1c14-024.1.1#06.10


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