diff options
author | David Ahern <[email protected]> | 2018-04-17 17:33:07 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-17 23:41:15 -0400 |
commit | a919525ad832d2bb1388b2303832a2307b30aeff (patch) | |
tree | c07aebe1fb80d8cc52d93efe877e7db7ca5fe13c /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | a2d481b326c98b6b67eea8a378c858d57ca5ff3d (diff) |
net: Move fib_convert_metrics to metrics file
Move logic of fib_convert_metrics into ip_metrics_convert. This allows
the code that converts netlink attributes into metrics struct to be
re-used in a later patch by IPv6.
This is mostly a code move with the following changes to variable names:
- fi->fib_net becomes net
- fc_mx and fc_mx_len are passed as inputs pulled from fib_config
- metrics array is passed as an input from fi->fib_metrics->metrics
Signed-off-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions