[ewg] RDS - Recovering from RDMA errors
    Tziporet Koren 
    tziporet at dev.mellanox.co.il
       
    Sat Jan 19 23:52:02 PST 2008
    
    
  
Olaf Kirch wrote:
> My question was more along the lines - can I expect that all pending
> WRs have been flushed when ib_modify_qp returns? At least for error
> state this does not seem to be the case - I'm still getting completions
> on the receive QP from the mellanox card after I do this.
>
> Olaf
>   
You cannot expect all WQEs to be completed when ib_modify_qp returns.
Moving the QP to error guarantee that all completion will arrive (flush 
with error) and you need to wait till you get them all.
Only then the you should move the QP to reset (or close it).
Tziporet
    
    
More information about the ewg
mailing list