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

Inherits MadTest.

Public Member Functions

 C14_024_10_01 ()
 
boolean execute () throws TestException
 

Protected Member Functions

boolean initialize () throws TestException
 

Detailed Description

24.1.5.13.1 LINEAR FORWARDING TABLE TEST FOR UNSUPPORTED ATTRIBUTE

24.1.5.13 V1C14-024.1.1 SUBNET MANAGEMENT ATTRIBUTE - LINEARFORWARDINGTABLE

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

Coverage: v1c13-024, v1c14-024.1.1

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

DUT Qualifiers: None, unless specified in algorithm section.

Notes:

  1. Additional checking of method/attribute combinations is performed in tests for v1c14-003.
  2. this TD should be executed for switches only since the attribute is not applicable to xCAs and routers

Test Case Description

◆ C14_024_10_01()

24.1.5.13.1 LINEAR FORWARDING TABLE TEST FOR UNSUPPORTED ATTRIBUTE

NOTE: TCL has this as C14-024#10.03 which does not match TD

Assertions: v1c13-024#07, v1c14-024.1.1#10.01, v1c14-024.1.1#10.02, v1c14-024.1.1#10.03, v1c14-024.1.1#10.04, v1c14-024.1.1#10.05, v1c14-024.1.1#10.06

Notes:

  1. Variable DUT_FDB_LIN_CAP of type integer
  2. Variable DUT_FDB_RANDOM_CAP of type integer
  3. SMP_DATA is variable of type MadPacketSpec

Developer: Llolsten Kaonga

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

  2. NUM_PORTS = ReceiveMad (SubnGetResp(NodeInfo):NumPorts)

  3. SendMad (SubnGet(SwitchInfo)) to get LinearFDBCap and RandomFDBCap

  4. SMP_DATA = ReceiveMad (SubnGetResp(SwitchInfo))

  5. DUT_FDB_LIN_CAP = SMP_DATA:LinearFDBCap

  6. DUT_FDB_RANDOM_CAP = SMP_DATA:RandomFDBCap

  7. If Linear FDB CAP != 0, test is NA

  8. Verify RandomFDBCap is greater than zero

  9. Repeating steps 10 through 12 for all legal LinearForwarding Table attribute values 0 to 767
  10. SendMad (SubnSet(LinearForwardingTable where MADHeader:Attribute Modifier = 0 through 767 ))
  11. SMP_DATA = ReceiveMad (SubnGetResp(LinearForwardingTable))
  12. Verify SMP_DATA format: // v1c14-024.1.1#10.04

    • MADHeader:AttributeID == LinearForwardingTable
    • MADHeader:AttributeModifier == with same value as sent above
    • MADHeader:Status.code == 7 // v1c13-024#0

  13. Repeating steps 14 to 16 for all legal LinearForwarding Table attribute values 0 to 767.
  14. SendMad (SubnGet(LinearForwardingTable where MADHeader:Attribute Modifier = 0 to 767))
  15. SMP_DATA = ReceiveMad (SubnGetResp(LinearForwardingTable))
  16. Verify SMP_DATA format: // v1c14-024.1.1#10.03

    • MADHeader:AttributeID == LinearForwardingTable
    • MADHeader:AttributeModifier == with same value as sent above
    • MADHeader:Status.code == 7 // v1c13-024#07
    • MADHeader:MADData == 0


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