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

Inherits C14_024_07.

Public Member Functions

 C14_024_07_04 ()
 
boolean execute () throws TestException
 

Protected Member Functions

boolean initialize () throws TestException
 

Detailed Description

24.1.5.6.3 P_KEYTABLE FOR SWITCH ONLY TEST FOR SUPPORTED ATTRIBUTE - PART 2

24.1.5.6 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - PARTITIONTABLE - SWITCH ONLY

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

Coverage: v1c14-024.1.1, v1c14-027, v1c14-030

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

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

24.1.5.6.3 P_KEYTABLE FOR SWITCH ONLY TEST FOR SUPPORTED ATTRIBUTE - PART 2

Assertions: v1c14-024.1.1#07.01, v1c14-024.1.1#07.02, v1c14-024.1.1#07.03, v1c14-027#01

Notes:

  1. This Part of the test is for switch devices only (not including switch management port which is defined in TD 17.1.5.2.6).// v1c14-024.1.1#07.01
  2. Variable PARTITION_ENFORCEMENT_CAP of type integer
  3. Variable NUM_PORTS of type integer
  4. 32 variables P_KEY_BLOCK[i] of type integer.(i as index to P_KeyTableBlock)
  5. SMP_DATA is variable of type MadPacketSpec

Developer: Llolsten Kaonga

Test Procedure

◆ initialize()

boolean initialize ( ) throws TestException
protected

Initialization:

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

◆ execute()

boolean execute ( ) throws TestException

Tester Procedure:

  1. SendMad (SubnGet(SwitchInfo))

  2. PART_ENFORCEMENT_CAP = SMP_DATA:PartitionENforcementCap

  3. Verify PartitionEnforcementCap != 0

  4. SendMad (SubnGet(NodeInfo))

  5. SMP_DATA = ReceiveMad(SubnGetResp(NodeInfo))

  6. Tester Procedure steps 7 to 12 should be repeated for illegal entries in P_KeyTable ((AttributeModifier[15:0] gets entries greater or equal to ((PARTITION_ENFORCEMENT_CAP / 32) + 1)) and legal port (Attribute-Modifier[31:16] gets 1 - NUMBER_OF_PORTS)..
  7. SendMad (SubnSet(P_KeyTable where MADHeader:AttributeModifier[15:0] = as specified , MADHeader:AttributeModifier[31:16] = as specified))
    • Remark: Configure to legal entry and legal port.(port number ’0’ assigned to Switch Management Port).
    • All P_KeyBlockElements set to 1s
  8. SMP_DATA = ReceiveMad (SubnGetResp(P_KeyTable))
  9. Verify SMP_DATA format: // v1c14-024.1.1#07.01, v1c14-024.1.1#07.03
    • MADHeader:AttributeID == P_KeyTable
    • MADHeader:AttributeModifier[15:0] - equal to the one we sent
    • MADHeader:Status == 7
  10. SendMad (SubnGet(P_KeyTable where MADHeader:AttributeModifier[15:0] = as specified , MADHeader:AttributeModifier[31:16] = as specified))
  11. SMP_DATA = ReceiveMad (SubnGetResp(P_KeyTable))
  12. Verify SMP_DATA format: // v1c14-024.1.1#07.02

    • MADHeader:AttributeID == P_KeyTable
    • MADHeader:AttributeModifier[15:0] - equal to the one we sent
    • MADHeader:Status == 7


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