/* igb_configure - configure the hardware for RX and TX @adapter: private board structure  */
static void igb_configure(struct igb_adapter *adapter)
/* igb_configure - configure the hardware for RX and TX @adapter: private board structure  */
static void igb_configure(struct igb_adapter *adapter)
{
	struct net_device *netdev = adapter->netdev;
	int i;
	igb_get_hw_control(adapter);
	igb_set_rx_mode(netdev);
	igb_restore_vlan(adapter);
	igb_setup_tctl(adapter);
	igb_setup_mrqc(adapter);
	igb_setup_rctl(adapter);
	igb_configure_tx(adapter);
	igb_configure_rx(adapter);
	igb_rx_fifo_flush_82575(&adapter->hw);
	for (i = 0; i < adapter->num_rx_queues; i++) {
		struct igb_ring *ring = &adapter->rx_ring[i];
		igb_alloc_rx_buffers_adv(ring, igb_desc_unused(ring));
	}
	adapter->tx_queue_len = netdev->tx_queue_len;
}