summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorDragos Tatulea <dtatulea@nvidia.com>2024-11-07 22:43:55 +0300
committerJakub Kicinski <kuba@kernel.org>2024-11-12 06:28:18 +0300
commit4f56868b7132bb3c7e5a2c1930b6402718248a35 (patch)
tree9739aee55cae53af962fba27cf307891eb4d6e9e /scripts/lib/kdoc/kdoc_files.py
parent1a4b5885770401b7e8de6546760686dcd2d9b784 (diff)
downloadlinux-4f56868b7132bb3c7e5a2c1930b6402718248a35.tar.xz
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