linux/lib/dim
Shashank Mohan Jain 636035157a lib/dim: add KUnit test for dim_calc_stats()
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 <jain.sm@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2026-10-02 07:52:31 +01:00
..
dim_kunit.c lib/dim: add KUnit test for dim_calc_stats() 2026-10-02 07:52:31 +01:00
dim.c lib/dim: fix 32-bit overflow in dim_calc_stats() rates 2026-10-02 07:52:31 +01:00
Makefile lib/dim: add KUnit test for dim_calc_stats() 2026-10-02 07:52:31 +01:00
net_dim.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
rdma_dim.c linux/dim: Do nothing if no time delta between samples 2023-05-09 11:06:45 +02:00