net: stmmac: Always enable MAC RX queues

The MAC RX queues always need to be enabled in order to receive network
packets. Remove the condition that this only needs to be done for multi-
queue configurations.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Thierry Reding 2017-03-21 16:12:09 +01:00 committed by David S. Miller
parent 4c355cdfbb
commit f39768744f

View File

@ -2385,7 +2385,7 @@ static void stmmac_mtl_configuration(struct stmmac_priv *priv)
stmmac_rx_queue_dma_chan_map(priv);
/* Enable MAC RX Queues */
if (rx_queues_count > 1 && priv->hw->mac->rx_queue_enable)
if (priv->hw->mac->rx_queue_enable)
stmmac_mac_enable_rx_queues(priv);
/* Set the HW DMA mode and the COE */