diff options
| author | Alex Elder <elder@linaro.org> | 2020-06-29 16:55:21 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-01 15:27:09 -0700 |
| commit | 317a5740b70568f71ecdcf0db1aefad2e4b74811 (patch) | |
| tree | 664acae24c54d853e403309bcda3f2bc22741407 /tools/perf/scripts/python/bin | |
| parent | Merge branch 'add-XDP-support-to-xen-netfront' (diff) | |
| download | linux-317a5740b70568f71ecdcf0db1aefad2e4b74811.tar.gz linux-317a5740b70568f71ecdcf0db1aefad2e4b74811.zip | |
net: ipa: rework ipa_aggr_granularity_val()
The timer used for aggregation makes use of an internal 32 KHz clock.
The granularity of the timer is programmed by a field whose value is
computed by ipa_aggr_granularity_val(). Redefine the way that value
is computed by using a new TIMER_FREQUENCY constant representing the
underlying clock frequency.
Add two BUILD_BUG_ON() calls to ensure the value used is valid.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
