diff options
| author | Dragos Tatulea <dtatulea@nvidia.com> | 2024-11-07 21:43:55 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-11 19:28:18 -0800 |
| commit | 4f56868b7132bb3c7e5a2c1930b6402718248a35 (patch) | |
| tree | 9739aee55cae53af962fba27cf307891eb4d6e9e /scripts/lib/kdoc/kdoc_files.py | |
| parent | 1a4b5885770401b7e8de6546760686dcd2d9b784 (diff) | |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
