aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
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
parentMerge tag 'linux-can-next-for-5.10-20200921' of git://git.kernel.org/pub/scm/... (diff)
downloadlinux-6d55af43fe9398b67165c47d474d47a84681bbeb.tar.gz
linux-6d55af43fe9398b67165c47d474d47a84681bbeb.zip
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')
0 files changed, 0 insertions, 0 deletions