Many Networking Changes Queued For Linux 4.16, New "Netdevsim" Driver

Written by Michael Larabel in Linux Kernel on 31 January 2018 at 04:19 PM EST. 2 Comments
LINUX KERNEL
David Miller has presented the set of networking subsystem changes targeting the Linux 4.16 and once again it's on the heavier side.

First up on the networking side of Linux 4.16 is a new driver: netdevsim. This "netdevsim" as implied by the name is a tool for network developers and is a simulator. This simulated networking device is used for testing various networking APIs and at this time is particularly focused on testing hardware offloading related interfaces. This network device simulator has already been extended to support loading (e)BPF programs and other developer-focused functionality.

In addition to this testing driver, the networking code for Linux 4.16 has seen a rework to its core networking routing structures. Reducing the size of these core data structures is in the name of performance with conserving memory and hopefully less cache misses. Several structs have seen their size reduced 48~64 bytes.

The Linux 4.16 networking code also has lockless qdisc support, SCTP stream interleave support, smoother TCP receive auto-tuning, various hardware offloading improvements, TCP BPF improvements, and improvements to a number of the individual network drivers.

The complete list of networking changes at this time via LKML.
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