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

Inherits C15_0_1_012.

Public Member Functions

 C15_0_1_012_17_01 ()
 
boolean execute () throws TestException
 

Protected Member Functions

boolean initialize () throws TestException
 

Detailed Description

25.2.5.17.1 SA GET(PATHRECORD) - PART 1

25.2.5.17 V1C15-0.1.012 PATHRECORD

Abstract: This test verifies that SA PathRecord is correct

Coverage: v1c15-0.1.012

Topology Configuration: SimpleLink: Tester=MADTester, Width=1X, 2X, 4X, or 12X, DUT=Node

DUT Qualifiers: DUT must have SM/SA functionality

Notes: None.

Test Case Description

◆ C15_0_1_012_17_01()

25.2.5.17.1 SA GET(PATHRECORD) - PART 1

Assertions: v1c15-0.1.012#17.01, v1c15-0.1.012#17.04, v1c15-0.1.012#17.12, v1c15-0.1.012#17.25, v1c15-0.1.012#17.26, v1c15-0.1.012#17.32, v1c15-0.1.012#17.33

Notes:

  1. This TD part will verify that SA can correctly send back a SubnAdmGetResponse(PathRecord) for a loopback SubnAdmGet(PathRecord) query.
  2. This TD assumes that SM has minimally discovered the network, assigned LIDs to all the endnodes and create paths among all endnodes.
  3. This TD assumes that the partition table has not been modified.

Developer: Kevin King

Test Procedure

◆ initialize()

boolean initialize ( ) throws TestException
protected

Initialization:

  1. PortInfo:PortState is initialized to ACTIVE for both MADTester and DUT.
  2. GMP_DATA, MAD_DATA variable of type MadPacketSpec

◆ execute()

boolean execute ( ) throws TestException

Tester Procedure:

  1. MAD_DATA is a legal GMP:

    • BTH: DestQP = 1
    • MADHeader.MgmtClass = 0x3
    • MADHeader.ClassVersion = 0x2
    • MADHeader.method = 0x1
    • MADHeader.AttributeID = 0x35 (PathRecord)
    • SAHeader.SM_Key = 0
    • SAHeader.AttributeOffset = 0
    • SAHeader.ComponentMask = 0x100C
    • PathRecord.DGID = GID of the tester
    • PathRecord.SGID = GID of the tester
    • PathRecord.NumPath = 1

  2. SendMad(SubnAdmGet(PathRecord))

  3. GMP_DATA= ReceiveMad (SubnAdmGetResp(PathRecord))

  4. Verify the following:

    • GMP_DATA.MADHeader:Status.Code == 0 // v1c15-0.1.012#17.01
    • PathRecord.DGID = GID of the tester
    • PathRecord.SGID = GID of the tester
    • PathRecord.DLID = LID of the tester // v1c15-0.1.012#17.04
    • PathRecord.SLID = LID of the tester // v1c15-0.1.012#17.04
    • PathRecord.P_KEY = 0xFFFF // v1c15-0.1.012#17.12
    • PathRecord.RateSelector = 2 // v1c15-0.1.012#17.25
    • PathRecord.Rate = Rate of the tester // v1c15-0.1.012#17.26
    • PathRecord.PacketLifeTimeSelector = 2 // v1c15-0.1.012#17.32
    • PathRecord.PacketLifeTime = 0 // v1c15-0.1.012#17.33
    • Remark: The fields that are omitted from (3) are not checked because either they are related to GRH or their values may depend on vendor implementation. Remark: The fields that are omitted from (3) are not checked because either they are related to GRH or their values may depend on vendor implementation.
    • Remark: The value specified in PathRecord.Rate and PathRecord.Mtu assumes the switch connected to the tester supports rate and MTU equal or higher than the tester. Remark: The value specified in PathRecord.Rate and PathRecord.Mtu assumes the switch connected to the tester supports rate and MTU equal or higher than the tester.

  5. Reset the DUT to its original state


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