[ofa-general] Re: [PATCH] IB/mlx4_ib initialize work - resending fix description

Roland Dreier rdreier at cisco.com
Thu May 24 14:03:22 PDT 2007


 > +	if (cur_state == IB_QPS_RESET && new_state == IB_QPS_INIT) {
 >  		context->db_rec_addr = cpu_to_be64(qp->db.dma);
 > +		for (i = 0; i < qp->sq.max; ++i) {
 > +			ctrl = get_send_wqe(qp, i);
 > +			ctrl->owner_opcode = cpu_to_be32(1 << 31);
 > +		}
 > +	}

er... actually we only want to do this for kernel QPs (since we don't
have access to the buffer for user QPs).  I fixed up the patch in my tree.



More information about the general mailing list