]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ena: Introduce shared sample interval for all stats
authorOsama Abboud <osamaabb@amazon.com>
Tue, 12 Sep 2023 10:13:48 +0000 (10:13 +0000)
committerArthur Kiyanovski <akiyano@FreeBSD.org>
Thu, 28 Dec 2023 13:56:18 +0000 (13:56 +0000)
commit5b925280d9a54eaefd85827bf6e84049aea8fa98
tree973d1d1048ff714b90d310093872820f4f3aff93
parent2835752e075f2fa3edcb596df8306c570ec4cae6
ena: Introduce shared sample interval for all stats

Rename sample_interval node to stats_sample_interval and move
it up in the sysctl tree to make it clear that it's relevant for
all the stats and not only ENI metrics (Currently, sample interval node
is found under eni_metrics node).

Path to node:
dev.ena.<device_index>.stats_sample_interval

Once this parameter is set it will set the sample interval for all the
stats node including SRD/customer metrics.

Approved by: cperciva (mentor)
MFC after: 2 weeks
Sponsored by: Amazon, Inc.
sys/dev/ena/ena.c
sys/dev/ena/ena.h
sys/dev/ena/ena_sysctl.c