[openib-general] ib_post_send ib_send_wr question

Hal Rosenstock halr at voltaire.com
Fri Jul 30 15:37:08 PDT 2004


Sean Hefty wrote:
> On Fri, 30 Jul 2004 18:11:14 -0400
> Hal Rosenstock <halr at voltaire.com> wrote:
> 
>>> ASSERT( qp->qp_num == IB_QP1 || wr->pkey_index == 0 );
>> 
>> I think you meant && rather than ||.
> 
> The OR was intended.  The pkey index must either be set to 0 or the
> QP must be 1. 

I think the pkey_index needs to be ignored if it is not QP1. This should
be noted in the API and something the driver will need to take care of.

I'm wondering about redirected QPs :-) Are they locked on a single PKey
index or do they need to work the same way QP1 does ?

-- Hal





More information about the general mailing list