mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 20:47:12 +07:00
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:
parent
4c355cdfbb
commit
f39768744f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user