/* Replenishes a response queue by making the supplied number of responses available to HW.  */
static void refill_rspq(struct adapter *adapter, const struct sge_rspq *q, unsigned int credits)
/* Replenishes a response queue by making the supplied number of responses available to HW.  */
static void refill_rspq(struct adapter *adapter, const struct sge_rspq *q, unsigned int credits)
{
	rmb();
	t3_write_reg(adapter, A_SG_RSPQ_CREDIT_RETURN,
		     V_RSPQ(q->cntxt_id) | V_CREDITS(credits));
}