summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/netdev-times-record
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-04-30 21:56:58 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-30 17:39:15 -0700
commit6cf96dd4272537baf4ceab452f6276da1b8d82af (patch)
treec977eef0eee65f631a407f7188141076c57cb107 /tools/perf/scripts/python/bin/netdev-times-record
parent2815b30535a0613ee07d477d0c628100f40b6059 (diff)
downloadlinux-6cf96dd4272537baf4ceab452f6276da1b8d82af.tar.gz
linux-6cf96dd4272537baf4ceab452f6276da1b8d82af.zip
r8169: improve rtl_get_coalesce
Use FIELD_GET() macro to make the code better readable. In addition change the logic to round the time limit up, not down. Reason is that a time limit <1us would be rounded to 0 currently, what would be interpreted as "no time limit set". 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/netdev-times-record')
0 files changed, 0 insertions, 0 deletions