Experimental Patches For Rust-Written Linux Network Drivers

Written by Michael Larabel in Linux Networking on 4 June 2023 at 05:50 AM EDT. 49 Comments
A new set of patches this weekend begin laying the groundwork for Rust abstractions for Linux network device drivers so that Rust code can be used for constructing new network device drivers. The patches also include a dummy Rust network driver.

Longtime kernel developer Fujita Tomonori sent out a set of patches on Sunday providing the Rust abstractions for network device drivers plus the initial Rust dummy driver to help in reviewing this early code. So far no actual hardware device driver for Rust in the networking subsystem has been published.

The 800 lines of new Rust code for the Linux kernel were posted to rust-for-linux for an early round of review prior to bringing it up with the broader Linux networking development community.

Rust logo

There continues to be a lot of different Rust work happening for the mainline Linux kernel while so far merged is just a lot of infrastructure work, subsystem abstractions, and more while waiting for any notable Rust'ed drivers -- like the Apple DRM kernel driver -- to be ready for upstreaming.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com 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 OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week