aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorstephen hemminger <[email protected]>2017-06-08 16:21:18 -0700
committerDavid S. Miller <[email protected]>2017-06-09 12:15:02 -0400
commit60b86665af0dfbeebda8aae43f0ba451cd2dcfe5 (patch)
tree3a1bee4ef1598c9ce45650c51625eb7551d01f7e /tools/perf/scripts
parente073782a41bf6018d8db16fd54155384b7e6da65 (diff)
netvsc: optimize calculation of number of slots
Speed up transmit check for fragmented packets by using existing macros to compute number of pages, and eliminate loop since skb fragments each take a page. Number of slots is also unsigned. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions