InfiniBand Test Specification
1.0.38
|
Inherits TransportTest.
Public Member Functions | |
C09_130_01 () | |
boolean | execute () throws TestException |
Protected Member Functions | |
boolean | initialize () throws TestException |
9.7.5.2.8 V1C09-130 Requester/Responder RNR NAK Behavior
Abstract: This test verifies that an HCA requester waits for at least the time interval specified in the RNR NAK before retrying its request.
Coverage: v1c09-130
Topology Configuration: SimpleLink: Tester=Transport Tester; Width=1X, 4X, or 12X; DUT=xCA
DUT Qualifiers: None
Notes: None.
C09_130_01 | ( | ) |
9.7.5.2.8.1 V1C09-130 Requester/Responder RNR NAK Behavior
Assertions: V1c09-130#01
Notes:
Developer: Llolsten Kaonga
|
protected |
Initialization:
OpenRcChannel( CC ) // (reliable connection)
Set QP RNR Retry Count = 1. Setting it to the default (0) will result in a QP completion which we want to avoid.
boolean execute | ( | ) | throws TestException |
Test Procedure:
Register memory region for receiving remote packets
Post one receive request for each expected packet from DUT *RemarkThere is only one packet in this case
Transmit 1 RC SEND ONLY WQE from DUT at size (PMTU).
Receive all expected packets
Verify the packet was received and was valid
Verify the message contained the packet with opcode Send Only and the correct PSN
Transmit RNR NAK packet to NAK the Send Only request (MSN = 1)
Poll for completion of Send Only message on DUT's send queue
Verify there is no work completion dequeued from the send queue
Verify that the DUT throws the IBV_WC_RNR_RETRY_EXEC_ERR error
CloseRcChannel( CC )