[Openib-windows] post send request in invalid QP state
sleybo at mellanox.co.il
Thu Mar 9 07:57:37 PST 2006
In the documentation of IBAL its states , that if one post WQ to QP that
is not in valid state (RTR) it should get IB_INVALID_QP_STATE.
If you want to check qp state you need to issue query_qp and still you
have race with the wire ( like RTR that move to RTS or RTS that move to
The only state that may generate this error is RESET which is not
creating CQE, all other state return CQE with error so let the user
check the CQE.
Our new implementation of mthca skip the QP state checkin ( like gen2)
and relay on the CQE.
Can we change the documentation of the verb and remove this return value
? or state that its for RESET state?
IN const ib_qp_handle_t
<file:///W:/work/mthca/docs/iba/ib_types_h.html#robo241> * const
**pp_send_failure OPTIONAL );
[in] The queue pair to which this work request is being
[in] A reference to the head of the work request list.
[out] If the post send operation failed, this references
request in the p_send_wr list where the first failure
This parameter may be NULL if only a single work request
posted to the QP.
All work requests were successfully posted.
The queue pair handle was invalid.
A reference to the send work request list was not
The number of posted work requests exceed the current
on the send queue.
The work request type was invalid.
The current queue pair state does not allow posting
The number of work request scatter gather elements exceed
The requested operation is not supported by the channel
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ofw