aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2017-12-01 14:01:46 -0500
committerDavid S. Miller <davem@davemloft.net>2017-12-03 10:10:02 -0500
commitb85e06f7bb1a25dd2e7755d55a2ca313d24ae7ad (patch)
tree96a06d5e05d762625396fb22a797f4c7188e6f61 /tools/perf/scripts/python
parent200a569990e1d54b8eed2fa817cbf4ba66fe9350 (diff)
hv_netvsc: replace divide with mask when computing padding
Packet alignment is always a power of 2 therefore modulus can be replaced with a faster and operation Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions