diff options
author | 2024-11-07 21:43:55 +0200 | |
---|---|---|
committer | 2024-11-11 19:28:18 -0800 | |
commit | 4f56868b7132bb3c7e5a2c1930b6402718248a35 (patch) | |
tree | 9739aee55cae53af962fba27cf307891eb4d6e9e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net/mlx5e: SHAMPO, Fix page_index calculation inconsistency (diff) | |
download | wireguard-linux-4f56868b7132bb3c7e5a2c1930b6402718248a35.tar.xz wireguard-linux-4f56868b7132bb3c7e5a2c1930b6402718248a35.zip |
net/mlx5e: SHAMPO, Change frag page setup order during allocation
Now that the UMR allocation has been simplified, it is no longer
possible to have a leftover page from a previous call to
mlx5e_build_shampo_hd_umr().
This patch simplifies the code by switching the order of operations:
first take the frag page and then increment the index. This is more
straightforward and it also paves the way for dropping the info
array.
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20241107194357.683732-11-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions