[ofa-general] error with ibv_poll_cq() call
    Jack Morgenstein 
    jackm at dev.mellanox.co.il
       
    Mon Mar 31 01:07:39 PDT 2008
    
    
  
On Saturday 29 March 2008 08:35, Roland Dreier wrote:
> because you leave the clear_qp call before the cq_clean and they are
> not within the same cq lock, there is a window where a consumer could
> poll a valid CQE for a qp that is no longer in the table.  I think
> it's better to really match the logic of the kernel driver (which I
> think is correct).
> 
Ouch!  You're right, too.
BTW, we need the same fix for libmthca.
- Jack
    
    
More information about the general
mailing list