net: stmmac: Always enable MAC RX queues
authorThierry Reding <treding@nvidia.com>
Tue, 21 Mar 2017 15:12:09 +0000 (16:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 19:15:14 +0000 (12:15 -0700)
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>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

index 531bf1dc35cd223f8aa6d0a53e7ef563b3f9dde0..98e0f80de9d8dd3c45313924962e0c687447ae23 100644 (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 */