aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDragos Tatulea <[email protected]>2024-11-07 21:43:54 +0200
committerJakub Kicinski <[email protected]>2024-11-11 19:28:18 -0800
commit1a4b5885770401b7e8de6546760686dcd2d9b784 (patch)
tree31439eb5a6d2725e236f8a56814bc64efac4da25 /tools/perf/scripts/python/bin/stackcollapse-record
parent8a0ee54027b1fbccda3f2683dafec9b7216993a4 (diff)
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 <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions