aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDragos Tatulea <[email protected]>2024-11-07 21:43:56 +0200
committerJakub Kicinski <[email protected]>2024-11-11 19:28:18 -0800
commit945ca432bfd0788b960f8f721594dae4fc3c02c1 (patch)
tree3f7141f06d67f5efaca02fc97ea8972f2deb1a39 /tools/perf/scripts/python
parent4f56868b7132bb3c7e5a2c1930b6402718248a35 (diff)
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 <[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')
0 files changed, 0 insertions, 0 deletions