diff options
author | Thierry Reding <treding@nvidia.com> | 2017-03-21 16:12:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-22 12:15:14 -0700 |
commit | f39768744fd6cd45291c957bd4bf2f68f073ed73 (patch) | |
tree | c354e9983319de32cb394b8ed82c6e20f1ad3533 | |
parent | 4c355cdfbba537971b5c3849680b1b6453a7a383 (diff) | |
download | linux-f39768744fd6cd45291c957bd4bf2f68f073ed73.tar.bz2 |
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>
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index 531bf1dc35cd..98e0f80de9d8 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c @@ -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 */ |