aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDragos Tatulea <dtatulea@nvidia.com>2024-11-07 21:43:54 +0200
committerJakub Kicinski <kuba@kernel.org>2024-11-11 19:28:18 -0800
commit1a4b5885770401b7e8de6546760686dcd2d9b784 (patch)
tree31439eb5a6d2725e236f8a56814bc64efac4da25 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentnet/mlx5e: SHAMPO, Simplify UMR allocation for headers (diff)
downloadwireguard-linux-1a4b5885770401b7e8de6546760686dcd2d9b784.tar.xz
wireguard-linux-1a4b5885770401b7e8de6546760686dcd2d9b784.zip
net/mlx5e: SHAMPO, Fix page_index calculation inconsistency
When calculating the index for the next frag page slot, the divisor is incorrect: it should be the number of pages per queue not the number of headers per queue. This is currently harmless because frag pages are not used directly, but they are intermediated through the info array. But it needs to be fixed as an upcoming patch will get rid of the info array. This patch introduces a new pages per queue variable and plugs it in the formula. Now that this variable exists, additional code can be simplified in the SHAMPO initialization code. Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20241107194357.683732-10-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