diff options
author | 2024-11-07 21:43:56 +0200 | |
---|---|---|
committer | 2024-11-11 19:28:18 -0800 | |
commit | 945ca432bfd0788b960f8f721594dae4fc3c02c1 (patch) | |
tree | 3f7141f06d67f5efaca02fc97ea8972f2deb1a39 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net/mlx5e: SHAMPO, Change frag page setup order during allocation (diff) | |
download | wireguard-linux-945ca432bfd0788b960f8f721594dae4fc3c02c1.tar.xz wireguard-linux-945ca432bfd0788b960f8f721594dae4fc3c02c1.zip |
net/mlx5e: SHAMPO, Drop info array
The info array is used to store a pointer to the
dma address of the header and to the frag page. However,
this array is not really required:
- The frag page can be calculated from the header index
frag page index = header index / headers per page.
- The dma address can be calculated through a formula:
dma page address + header offset.
This series gets rid of the info array and uses the above
formulas instead.
The current_page_index was used in conjunction with the info array to
store page fragment indices. This variable is dropped as well.
There was no performance regression observed.
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20241107194357.683732-12-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