[openib-general] Re: [PATCH] [2/2] change QP state to SQE

Dror Goldenberg gdror at mellanox.co.il
Sun Nov 14 15:15:30 PST 2004



> -----Original Message-----
> From: Roland Dreier [mailto:roland at topspin.com] 
> Sent: Friday, November 12, 2004 7:42 PM
> 
> 
> I thought about this a little, and it seems that having the 
> CQ poll operation update the QP state is not the right 
> solution.  It seems it would be better to add support for the 
> "Current QP state" modifier for the modify QP operation and 
> expect the consumer to use that to indicate that the QP is in 
> SQE state.
> 

Actually I recall adding "current QP state" as an input modifier
to the modify QP verb as part of the IB 1.1 errata (if I remember
correctly). The main intention is to avoid the ambiguity when
a consumer moves a QP into RTS state but can't tell if the QP
was in SQError/Error or SQDrain. According to the spec, current
QP state should only be valid when moving QP into RTS state.
Hope that helps.

-Dror
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20041115/556b971e/attachment.html>


More information about the general mailing list