> + init_attr->cap.max_recv_wr = mqp->rq.max_post; > + init_attr->cap.max_recv_sge = mqp->rq.max_gs; Why do we have to reset these in userspace? Doesn't the kernel already give us correct info for the receive queue? - R.