mbox series

[net-next,0/3] net: mvmdio: Performance related improvements

Message ID 20231201173545.1215940-1-tobias@waldekranz.com (mailing list archive)
Headers show
Series net: mvmdio: Performance related improvements | expand

Message

Tobias Waldekranz Dec. 1, 2023, 5:35 p.m. UTC
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(-)