]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: mtk_eth_soc: Fix DIM support for MT7628/88
authorStefan Roese <sr@denx.de>
Thu, 20 May 2021 08:43:18 +0000 (10:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 May 2021 20:18:05 +0000 (13:18 -0700)
commit430bfe0576120b52cf7f62116bc7549180da4706
tree697a9487352dff705a41d03e43ab4281497c3087
parent5cb4a593821f1964d7176b2e48e019ab5a5d4353
net: ethernet: mtk_eth_soc: Fix DIM support for MT7628/88

When updating to latest mainline for some testing on the GARDENA smart
gateway based on the MT7628, I noticed that ethernet does not work any
more. Commit e9229ffd550b ("net: ethernet: mtk_eth_soc: implement
dynamic interrupt moderation") introduced this problem, as it missed the
RX_DIM & TX_DIM configuration for this SoC variant. This patch fixes
this by calling mtk_dim_rx() & mtk_dim_tx() in this case as well.

Signed-off-by: Stefan Roese <sr@denx.de>
Fixes: e9229ffd550b ("net: ethernet: mtk_eth_soc: implement dynamic interrupt moderation")
Cc: Felix Fietkau <nbd@nbd.name>
Cc: John Crispin <john@phrozen.org>
Cc: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Cc: Reto Schneider <code@reto-schneider.ch>
Cc: Reto Schneider <reto.schneider@husqvarnagroup.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_eth_soc.c