[openib-general] Re: ibv_create_srq doesn't update the SRQ init attributes

Roland Dreier rdreier at cisco.com
Sun Feb 19 14:17:51 PST 2006


    Dotan> Hi.  When one create a QP, the init attributes structure is
    Dotan> being changed by the verb to the actual init attributes
    Dotan> that were used for this QP.  When one create a SRQ, the
    Dotan> init attributes structure is not being changed, BUT a
    Dotan> query_srq will return the actual values that were used to
    Dotan> create the SRQ (those values may be different from the
    Dotan> values that the user put in the create_srq).
 
    Dotan> Should the create_srq return the values that were used to
    Dotan> create the SRQ in the init_attributes?

Yes, it would make sense to update the init attributes in
ibv_create_srq() the same way that ibv_create_qp() does.  Care to
write a patch?

Thanks,
  Roland



More information about the general mailing list