/* Caller passes in a qp_attr pointer - don't waste stack spacv by allocation this twice.  */
static void rds_ib_tune_rnr(struct rds_ib_connection *ic, struct ib_qp_attr *attr)
/* Caller passes in a qp_attr pointer - don't waste stack spacv by allocation this twice.  */
static void rds_ib_tune_rnr(struct rds_ib_connection *ic, struct ib_qp_attr *attr)
{
	int ret;
	attr->min_rnr_timer = IB_RNR_TIMER_000_32;
	ret = ib_modify_qp(ic->i_cm_id->qp, attr, IB_QP_MIN_RNR_TIMER);
	if (ret)
		printk(KERN_NOTICE "ib_modify_qp(IB_QP_MIN_RNR_TIMER): err=%d\n", -ret);
}