summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorRatheesh Kannoth <rkannoth@marvell.com>2026-06-19 15:21:00 +0530
committerJakub Kicinski <kuba@kernel.org>2026-06-24 18:39:45 -0700
commit429ef02895db2de55cc2286d27b3d4310c42ada7 (patch)
tree966a41e46d9373412bc867f5d90bbd358f3b57a2 /scripts/patch-kernel
parent6bd81a5b4e0dbec2feb94a456bca9d9f00bc14b3 (diff)
octeontx2-af: npc: cn20k: Fix subbank free list indexing for search order
subbank_srch_order[i] is the physical subbank at search-order slot i, so each subbank's arr_idx must be i (its slot), not subbank_srch_order[sb->idx]. The old logic mis-keyed xa_sb_free and broke allocation traversal order. Populate arr_idx and xa_sb_free in a single pass over the search order after subbank structs are initialized. Fixes: 7ac9d4c4075c ("octeontx2-af: npc: cn20k: add subbank search order control") Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260619095100.1864440-1-rkannoth@marvell.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions