netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] net-next: mediatek: various performance improvements
@ 2017-06-19 13:37 John Crispin
  2017-06-19 13:37 ` [PATCH 1/4] net-next: mediatek: print phy status changes for non DSA GMACs John Crispin
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: John Crispin @ 2017-06-19 13:37 UTC (permalink / raw)
  To: Sean Wang, David S . Miller; +Cc: linux-mediatek, netdev, John Crispin

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-20 17:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-19 13:37 [PATCH 0/4] net-next: mediatek: various performance improvements John Crispin
2017-06-19 13:37 ` [PATCH 1/4] net-next: mediatek: print phy status changes for non DSA GMACs John Crispin
2017-06-19 13:37 ` [PATCH 2/4] net-next: mediatek: add RX IRQ delay support John Crispin
2017-06-19 13:37 ` [PATCH 3/4] net-next: mediatek: split IRQ register locking into TX and RX John Crispin
2017-06-19 13:37 ` [PATCH 4/4] net-next: mediatek: set the rx_queue to 0 John Crispin
2017-06-20 17:40 ` [PATCH 0/4] net-next: mediatek: various performance improvements David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).