[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200418000355.804617-1-andrew@lunn.ch>
Date: Sat, 18 Apr 2020 02:03:52 +0200
From: Andrew Lunn <andrew@...n.ch>
To: David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Florian Fainelli <f.fainelli@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>, fugang.duan@....com,
Andrew Lunn <andrew@...n.ch>
Subject: [PATCH net-next v2 0/3] FEC MDIO speedups
This patchset gives a number of speedups for MDIO with the FEC.
Replacing interrupt driven with polled IO brings a big speedup due to
the overheads of interrupts compared to the short time interval.
Clocking the bus faster, when the MDIO targets supports it, can double
the transfer rate. And suppressing the preamble, if devices support
it, makes each transaction faster.
By default the MDIO clock remains 2.5MHz and preables are used. But
these can now be controlled from the device tree. Since these are
generic properties applicable to more than just FEC, these have been
added to the generic MDIO binding documentation.
Andrew Lunn (3):
net: ethernet: fec: Replace interrupt driven MDIO with polled IO
net: ethernet: fec: Allow configuration of MDIO bus speed
net: ethernet: fec: Allow the MDIO preamble to be disabled
.../devicetree/bindings/net/fsl-fec.txt | 1 +
.../devicetree/bindings/net/mdio.yaml | 8 ++
drivers/net/ethernet/freescale/fec.h | 4 +-
drivers/net/ethernet/freescale/fec_main.c | 85 +++++++++++--------
4 files changed, 59 insertions(+), 39 deletions(-)
--
2.26.1
Powered by blists - more mailing lists