summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorYamin Friedman2018-11-22 08:51:17 +0100
committerSaeed Mahameed2019-06-25 22:46:40 +0200
commit398c2b05bbee21cc172dfff017c0351d4d14e04c (patch)
tree46dc79312713a53112b23868f22d1cda3c932e9a /kernel
parentlinux/dim: Move implementation to .c files (diff)
downloadkernel-qcow2-linux-398c2b05bbee21cc172dfff017c0351d4d14e04c.tar.gz
kernel-qcow2-linux-398c2b05bbee21cc172dfff017c0351d4d14e04c.tar.xz
kernel-qcow2-linux-398c2b05bbee21cc172dfff017c0351d4d14e04c.zip
linux/dim: Add completions count to dim_sample
Added a measurement of completions per/msec to allow for completion based dim algorithms. In order to use dynamic interrupt moderation with RDMA we need to have a different measurment than packets per second. This change is meant to prepare for adding a new DIM method. All drivers that use net_dim and thus do not need a completion count will have the completions set to 0. Signed-off-by: Yamin Friedman <yaminf@mellanox.com> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions