aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/virtchnl.h
diff options
context:
space:
mode:
authorGeorgy Borodin <bor1-go@yandex-team.ru>2024-02-28 17:04:44 +0100
committerDamjan Marion <dmarion@0xa5.net>2024-03-05 18:53:01 +0000
commit904459ff32ffce73b97dd3cb40f0b367a6b558f9 (patch)
tree5151e6190448302f553b27fb01df654ac7926edc /src/plugins/avf/virtchnl.h
parent29e916a07c31d63ed6935354b99f16743842fdc6 (diff)
dpdk: correct waiting times
When link state interval is 3 and stats interval is 10, updates for stats will be made every 12 seconds (next number after 10, that divisible by 3). And if you get counters every 30 secs, you will get ideal "saw"-line instead of real smooth chart. This commit makes smooth line on stats intervals that are divisors of the charts update interval (regardless of link state interval), and makes it possible to configure them. Type: fix Fixes: cb9cadad578297ffd78fa8a33670bdf1ab669e7e Change-Id: Ia4350467be2b0ec0c1be37c7fda63f43b3330f44 Signed-off-by: Georgy Borodin <bor1-go@yandex-team.ru>
Diffstat (limited to 'src/plugins/avf/virtchnl.h')
0 files changed, 0 insertions, 0 deletions