[ofa-general] RE: What is the size of async event queue ?

Tang, Changqing changquing.tang at hp.com
Fri Mar 2 16:04:29 PST 2007


If a QP goes to error state, I will get completion error, do I still get
any of IBV_EVENT_QP_FATAL/REQ_ERR/ACCESS_ERR event?

--CQ 

> -----Original Message-----
> From: Roland Dreier [mailto:rdreier at cisco.com] 
> Sent: Friday, March 02, 2007 4:57 PM
> To: Tang, Changqing
> Cc: openib-general at openib.org
> Subject: Re: What is the size of async event queue ?
> 
>  > 	What is the default size of the async event queue ?  Suppose I
>  > create 1024 QP from one process to another process,  > 
> Somehow the remote process crashes, Can I get all the 1024 QP 
> error  > async event, how do I make sure I don't loss an event ?
> 
> Which async event are you expecting to get?  If you lose a 
> connection on an RC QP, then you will get a completion with 
> error status returned on your CQ -- I don't think there is 
> any async event that is caused.
> 
>  > 	Also if I want to detect QP connection error, I can either use
>  > completion error, or use ibv_get_async_event(), which way 
> report error  > faster ?
> 
> Which async event do you get?
> 
>  - R.
> 




More information about the general mailing list