/* Frees all SGE related resources and the sge structure itself  */
void t1_sge_destroy(struct sge *sge)
/* Frees all SGE related resources and the sge structure itself  */
void t1_sge_destroy(struct sge *sge)
{
	int i;
	for_each_port(sge->adapter, i)
		free_percpu(sge->port_stats[i]);
	kfree(sge->tx_sched);
	free_tx_resources(sge);
	free_rx_resources(sge);
	kfree(sge);
}