/* Update the coalescing settings for an SGE queue set. Nothing is done if the queue set is not initialized yet.  */
void t3_update_qset_coalesce(struct sge_qset *qs, const struct qset_params *p)
/* Update the coalescing settings for an SGE queue set. Nothing is done if the queue set is not initialized yet.  */
void t3_update_qset_coalesce(struct sge_qset *qs, const struct qset_params *p)
{
	qs->rspq.holdoff_tmr = max(p->coalesce_usecs * 10, 1U);
	qs->rspq.polling = p->polling;
	qs->napi.poll = p->polling ? napi_rx_handler : ofld_poll;
}