[ofa-general] Questions about IPOIB handle last WQE event
    Roland Dreier 
    rdreier at cisco.com
       
    Wed Jul 23 14:27:31 PDT 2008
    
    
  
 > What's in my mind was to use a common approach for both nonSRQ and SRQ.
 > Because nonSRQ doesn't have last WQE, but we could do post_send last WR
 > when receiving DREQ to handle QP resource destroy for both nonSRQ and
 > SRQ without setting QP to error status.
It would be nice if we could make the SRQ and non-SRQ code paths more
similar and shrink the code.  But I'm not sure there's any reason to
post a send work request in the non-SRQ case -- we can just destroy the
QP after the last pending receive completes (but we have to wait for
them all to complete before destroying the QP).
 - R.
    
    
More information about the general
mailing list