diff options
author | Carl Heymann <[email protected]> | 2017-12-08 19:37:04 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-12-11 12:08:13 -0500 |
commit | 92a54f4a47a348de03ed946b38b8c2b33ec8548a (patch) | |
tree | da6b4b19304bb5d2a7bc8f0267152b4e813700ef /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 197171e5badbed907b535aeb82dbf9cdeb014afd (diff) |
nfp: debug dump - decrease endian conversions
Convert the requested dump level parameter to big-endian at the start of
nfp_net_dump_calculate_size() and nfp_net_dump_populate_buffer(), then
compare and assign it directly where needed in the traversal and prolog
code. This decreases the total number of conversions used.
Signed-off-by: Carl Heymann <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions