net: ethernet: mtk_eth_soc: implement dynamic interrupt moderation
authorFelix Fietkau <nbd@nbd.name>
Fri, 23 Apr 2021 05:21:02 +0000 (22:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Apr 2021 20:31:58 +0000 (13:31 -0700)
commite9229ffd550b2d8c4997c67a501dbc3919fd4e26
tree7fa1647dfc43fdf4907e7bd27635522ce790edcc
parent6b4423b258b91032c50a5efca15d3d9bb194ea1d
net: ethernet: mtk_eth_soc: implement dynamic interrupt moderation

Reduces the number of interrupts under load

Signed-off-by: Felix Fietkau <nbd@nbd.name>
[Ilya: add documentation for new struct fields]
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/Kconfig
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h