> + 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.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general