FreeBSD/sys/dev/cxgb/cxgb_sge.c
/**
 *	t3_free_sge_resources - free SGE resources
 *	@sc: the adapter softc
 *
 *	Frees resources used by the SGE queue sets.
 */
free SGE resources
@sc: the adapter softc

Frees resources used by the SGE queue sets.
free SGE resources @sc : the adapter softc Frees resources used by the SGE queue sets .
void
t3_free_sge_resources(adapter_t *sc, int nqsets)
{
	int i;
	for (i = 0; i < nqsets; ++i) {
		TXQ_LOCK(&sc->sge.qs[i]);
		t3_free_qset(sc, &sc->sge.qs[i]);
	}
}
void t3_free_sge_resources ( adapter_t * sc , int nqsets ) { int i ; for ( i = 0 ; i < nqsets ; ++ i ) { TXQ_LOCK ( & sc -> sge . qs [ i ] ) ; t3_free_qset ( sc , & sc -> sge . qs [ i ] ) ; } }
t3_free_sge_resources - free SGE resources
      @sc: the adapter softc
t3_free_sge_resources - free SGE resources @sc : the adapter softc