summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maximmi@mellanox.com>2019-12-09 15:39:32 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2020-09-21 19:41:13 -0700
commit6d55af43fe9398b67165c47d474d47a84681bbeb (patch)
tree0e913d5c671e6ec7a6f5bca59c6e8a9ec0b90b32 /tools/perf/scripts/python/stackcollapse.py
parentc5a2a132a38619d24d6d115c66cc277594b4fe01 (diff)
net/mlx5e: Refactor inline header size calculation in the TX path
As preparation for the next patch, don't increase ihs to calculate ds_cnt and then decrease it, but rather calculate the intermediate value temporarily. This code has the same amount of arithmetic operations, but now allows to split out ds_cnt calculation, which will be performed in the next patch. Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions