diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2017-12-01 14:01:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-03 10:10:02 -0500 |
commit | b85e06f7bb1a25dd2e7755d55a2ca313d24ae7ad (patch) | |
tree | 96a06d5e05d762625396fb22a797f4c7188e6f61 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 200a569990e1d54b8eed2fa817cbf4ba66fe9350 (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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions