aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-04-30 21:58:06 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-30 17:39:15 -0700
commitbdd2be3adb7d139a598f2277af7fa625fc399af1 (patch)
tree96d24c932a544d22280aa83bfc90903fd84cebcc /tools/perf/scripts/python/bin/stackcollapse-record
parentr8169: improve rtl_coalesce_choose_scale (diff)
downloadlinux-bdd2be3adb7d139a598f2277af7fa625fc399af1.tar.gz
linux-bdd2be3adb7d139a598f2277af7fa625fc399af1.zip
r8169: improve interrupt coalescing parameter handling
The chip supports only frame limits 0, 4, 8, .. 60 internally. Returning EINVAL for all val % 4 != 0 seems to be a little bit too unfriendly to the user. Therefore round up the frame limit to the next supported value. In addition round up the time limit, else a very low limit could be rounded down to 0, and interpreted as "ignore value" by the chip. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions