...the Reset state. Software transitions a QP from the Reset state to the Initialized state using the Modify QP verb call.
When a QP is in the Initialized state, it has the following operational characteristics:
WRs can be posted to the RQ, but they are not processed.
Incoming packets targeting QP's RQ are silently dropped.
Any attempt to post a WR to the SQ results in the return of an immediate error.
WRs on the SQ are not processed.
Other than executing the Destroy QP verb call, the Modify QP verb call is the only way software can cause transition the QP out of the Initialize state. The next state must be the RTR state.
If it is an RD QP and software attempts to post a WR that specifies an EEC currently in the Initialized state to the SQ of a RD QP, the WR is completed in error.
From the Initialized state, the only valid state that software may transition the QP to is the Ready To Receive (RTR) state. To do so, software executes the Modify QP verb call and supplies the input parameters defined in Table 12-3 on this page. Note that using the Modify QP verb, software can command the QP to enter the Reset or the Error state.
Input Parameter(s) | Applicable QP Types | Required? | Description |
---|---|---|---|
HCA Handle | All | Yes | Returned by earlier Open HCA verb call. |
QP Handle | All | Yes | Returned by earlier Create QP verb call. |
Next State | All | Yes | In this case, the RTR state. |
RQ's Start ePSN | RC and UC | Yes | The RQ Logic 's Start ePSN must be set to the Start PSN assigned to the remote QP's SQ Logic. It is supplied in the REP message during the connection establishment process. |
Queue depth for inbound RDMA Read/Atomic operations | RC and RD | Yes | Depth of the special queue in the RQ Logic into which inbound RDMA Read and atomic operation requests are received. |
Remote Node Address Vector | RC and UC | Yes | Software provides the QP with all of the address information necessary to send packets to the remote CA port that the destination QP resides behind. This includes:
|
Destination QPN | RC and UC | Yes | Self-explanatory. |
Alternate Path Address Information | RC and UC | No | If HCA supports Automatic Path Migration, software may optionally supply:
|
Enable/disable incoming RDMA and Atomic Operations | RC, RD, UC | No |
|
Primary P_Key index | RC, UC, UD | No | See the description of the Primary P_Key index parameter in Table 12-2 on page 238. |
Q_Key | UD and RD | No | See the description of the Q_Key parameter in Table 12-2 on page 238. |
New SQ and/or RQ size | All | No | If HCA supports resizing of the SQ and RQ:
|
Minimum RNR Nak Timer Field | RC and RD | No | If an inbound Send or RDMA Write With Immediate message arrives when no WQEs are posted to the RQ, the RQ Logic responds with an RNR Nak. This is the value that is placed in the Nak packet's RNR Nak Timer Field. The packet sender must wait at least this amount of time before attempting to resend the request packet again. |