[ofa-general] [PATCH] mlx4: Set sq_sig_type and qp_type in qp_init_attr struct

Vincent Rizza vinnie at sgi.com
Sun Oct 19 23:03:42 PDT 2008


The application sets the sq_sig_all field in the ibv_qp_init_attr structure 
passed in to ibv_qp_create(). It uses ibv_query_qp() to determine what values 
have been applied by the ofed infrastructure.

In this case it wants to know that CQEs will only be generated for the requested 
WRs. Otherwise the application may flag a warning to the user to indicate this 
performance option is not in effect for this QP.

Roland Dreier wrote:
>  > Set correct sq_sig_type and qp_type in qp_init_attr.
> 
> Why?  What cares about this?  The qp_type seems especially silly, since
> it's already in struct ib_qp.  And mthca doesn't set this info either.
> 
>  - R.



More information about the general mailing list