netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net: mvmdio: Performance related improvements
@ 2023-12-01 17:35 Tobias Waldekranz
  2023-12-01 17:35 ` [PATCH net-next 1/3] arm64: dts: marvell: cp11x: Provide clock names for MDIO controllers Tobias Waldekranz
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Tobias Waldekranz @ 2023-12-01 17:35 UTC (permalink / raw)
  To: davem, kuba
  Cc: andrew, gregory.clement, sebastian.hesselbarth, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, netdev

Observations of the XMDIO bus on a CN9130-based system during a
firmware download showed a very low bus utilization, which stemmed
from the 150us (10x the average access time) sleep which would take
place when the first poll did not succeed.

With this series in place, bus throughput increases by about 10x,
multiplied by whatever gain you are able to extract from running the
MDC at a higher frequency (hardware dependent).

Tobias Waldekranz (3):
  arm64: dts: marvell: cp11x: Provide clock names for MDIO controllers
  net: mvmdio: Avoid excessive sleeps in polled mode
  net: mvmdio: Support setting the MDC frequency on XSMI controllers

 arch/arm64/boot/dts/marvell/armada-cp11x.dtsi |  4 +
 drivers/net/ethernet/marvell/mvmdio.c         | 85 +++++++++++++------
 2 files changed, 64 insertions(+), 25 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-12-04 14:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-01 17:35 [PATCH net-next 0/3] net: mvmdio: Performance related improvements Tobias Waldekranz
2023-12-01 17:35 ` [PATCH net-next 1/3] arm64: dts: marvell: cp11x: Provide clock names for MDIO controllers Tobias Waldekranz
2023-12-01 17:35 ` [PATCH net-next 2/3] net: mvmdio: Avoid excessive sleeps in polled mode Tobias Waldekranz
2023-12-02 20:45   ` Jakub Kicinski
2023-12-04  8:52     ` Tobias Waldekranz
2023-12-04 14:13       ` Andrew Lunn
2023-12-01 17:35 ` [PATCH net-next 3/3] net: mvmdio: Support setting the MDC frequency on XSMI controllers Tobias Waldekranz

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