<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/lib/dim/dim_kunit.c, branch stable</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/lib/dim/dim_kunit.c?h=stable</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/lib/dim/dim_kunit.c?h=stable'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2026-10-02T06:52:31Z</updated>
<entry>
<title>lib/dim: add KUnit test for dim_calc_stats()</title>
<updated>2026-10-02T06:52:31Z</updated>
<author>
<name>Shashank Mohan Jain</name>
<email>jain.sm@gmail.com</email>
</author>
<published>2026-09-27T05:17:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=636035157a814f289f293fd0edea1a367a637797'/>
<id>urn:sha1:636035157a814f289f293fd0edea1a367a637797</id>
<content type='text'>
Add a KUnit suite for the DIM library that checks the packet, byte,
event and completion rates computed by dim_calc_stats(), including
counter wraparound and windows whose byte or packet count times
USEC_PER_MSEC does not fit in 32 bits. The latter cases fail on 32-bit
architectures without the previous commit.

Assisted-by: LLM
Signed-off-by: Shashank Mohan Jain &lt;jain.sm@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
