/* Ensures that current Rx processing on any of the queues associated with the given port completes before returning. We do this by acquiring and releasing the locks of the response queues associated with the port.  */
static void t3_synchronize_rx(struct adapter *adap, const struct port_info *p)
/* Ensures that current Rx processing on any of the queues associated with the given port completes before returning. We do this by acquiring and releasing the locks of the response queues associated with the port.  */
static void t3_synchronize_rx(struct adapter *adap, const struct port_info *p)
{
	int i;
	for (i = p->first_qset; i < p->first_qset + p->nqsets; i++) {
		struct sge_rspq *q = &adap->sge.qs[i].rspq;
		spin_lock_irq(&q->lock);
		spin_unlock_irq(&q->lock);
	}
}