Skip to content

net-next: mediatek: various performance improvements

John Crispin linux-mediatek netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net-next: mediatek: print phy status changes for non DSA GMACsdrivers/net/ethernet/mediatek/mtk_eth_soc.c+3 -00 replies
2/4net-next: mediatek: add RX IRQ delay supportdrivers/net/ethernet/mediatek/mtk_eth_soc.c drivers/net/ethernet/mediatek/mtk_eth_soc.h+13 -40 replies
3/4net-next: mediatek: split IRQ register locking into TX and RXdrivers/net/ethernet/mediatek/mtk_eth_soc.c drivers/net/ethernet/mediatek/mtk_eth_soc.h+54 -300 replies
4/4net-next: mediatek: set the rx_queue to 0drivers/net/ethernet/mediatek/mtk_eth_soc.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] net-next: mediatek: various performance improvements

During development we mainly ran testing using iperf doing 1500 byte tcp frames. It was pointed out recently, that the driver does not perform very well when using 512 byte udp frames. The biggest problem was that RPS was not working as no rx queue was being set. fixing this more than doubled the throughput. Additionally the IRQ mask register is now locked independently for RX and TX. RX IRQ aggregation is also added. With all these patches applied we can almost triple the throughput.

While at it we also add PHY status change reporting for GMACs connecting directly to a PHY.

John Crispin (4):
net-next: mediatek: print phy status changes for non DSA GMACs
net-next: mediatek: add RX IRQ delay support
net-next: mediatek: split IRQ register locking into TX and RX
net-next: mediatek: set the rx_queue to 0

 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 87 +++++++++++++++++++----------
 drivers/net/ethernet/mediatek/mtk_eth_soc.h | 18 ++++--
 2 files changed, 71 insertions(+), 34 deletions(-)
Signature · 1 line
2.11.0