diff options
author | Yamin Friedman | 2018-11-22 08:51:17 +0100 |
---|---|---|
committer | Saeed Mahameed | 2019-06-25 22:46:40 +0200 |
commit | 398c2b05bbee21cc172dfff017c0351d4d14e04c (patch) | |
tree | 46dc79312713a53112b23868f22d1cda3c932e9a /block/blk-mq-virtio.c | |
parent | linux/dim: Move implementation to .c files (diff) | |
download | kernel-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 'block/blk-mq-virtio.c')
0 files changed, 0 insertions, 0 deletions