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

John Crispin john at phrozen.org
Mon Jun 19 06:37:02 PDT 2017


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(-)

-- 
2.11.0




More information about the Linux-mediatek mailing list