[PATCH net-next 2/3] net: stmmac: Fix incorrect location to set real_num_rx|tx_queues

2020-09-14 Thread Wong Vee Khee
From: Aashish Verma netif_set_real_num_tx_queues() & netif_set_real_num_rx_queues() should be used to inform network stack about the real Tx & Rx queue (active) number in both stmmac_open() and stmmac_resume(), therefore, we move the code from stmmac_dvr_probe() to stmmac_hw_setup(). Fixes:

[PATCH net-next 2/3] net: stmmac: Fix incorrect location to set real_num_rx|tx_queues

2020-09-10 Thread Wong Vee Khee
From: Aashish Verma netif_set_real_num_tx_queues() & netif_set_real_num_rx_queues() should be used to inform network stack about the real Tx & Rx queue (active) number in both stmmac_open() and stmmac_resume(), therefore, we move the code from stmmac_dvr_probe() to stmmac_hw_setup(). Fixes: