aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2017-03-31 07:14:00 -0700
committerDavid S. Miller <[email protected]>2017-04-01 20:21:44 -0700
commit77ef013aadadd248843ad90022f36ba177b24e7f (patch)
tree944da02d049a953f9ca22660300af25b8493dcfe /tools/perf/scripts/python/bin/stackcollapse-report
parent39eb8cd1758886072ceb93607827722a11592ba2 (diff)
net: mpls: Convert number of nexthops to u8
Number of nexthops and number of alive nexthops are tracked using an unsigned int. A route should never have more than 255 nexthops so convert both to u8. Update all references and intermediate variables to consistently use u8 as well. Shrinks the size of mpls_route from 32 bytes to 24 bytes with a 2-byte hole before the nexthops. Signed-off-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions