Freescale Ethernet Driver Unlocks A Big Performance Improvement
Written by Michael Larabel in Linux Networking on 4 May 2020 at 06:19 AM EDT. 2 Comments
The Freescale "FEC" Ethernet driver used by select i.MX SoCs will be seeing better performance on the next kernel release.

Queued in net-next for Linux 5.8 is a big optimization for the Freescale FEC networking driver.

Andrew Lunn reworked this Ethernet driver to replace interrupt-driven handling with polled I/O. In doing so, he's seeing dramatically better performance: "Replacing the completion interrupt with polled IO results in back to back transactions of 40us. The polling loop waiting for the hardware to complete the transaction takes around 28us. Which suggests interrupt handling has an overhead of 50us, and polled IO nearly halves this overhead, and doubles the MDIO performance."

Not bad for this Freescale driver that has been in the mainline kernel for already a decade.

The change is ready to go for Linux 5.8 this summer.
Related News
About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week