summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGeetha sowjanya <gakula@marvell.com>2026-09-22 15:51:48 +0530
committerJakub Kicinski <kuba@kernel.org>2026-09-28 18:20:22 -0700
commit056994563935e049093f100efaad7e63ad113814 (patch)
tree574c7f031357a78d3790eb82eb26575023c4855a /tools/perf/scripts/python/stackcollapse.py
parent382cf9768987331f6576c97bfb44d9434e3555f6 (diff)
octeontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled
Previously, BPID assignment under CONFIG_DCB assumed `queue_to_pfc_map` was always initialized. For SDP VFs this leads to invalid memory access as it was not initialized. This patch adds a NULL check for `queue_to_pfc_map` before dereferencing it. Also, simplifies the logic by always assigning a default BPID first, then conditionally overriding it if CONFIG_DCB is enabled and the map exists. Fixes: 184fb40f731b ("octeontx2-pf: Avoid adding dcbnl_ops for LBK and SDP vf") Signed-off-by: Geetha sowjanya <gakula@marvell.com> Signed-off-by: Subrat Pandey <subratp@marvell.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260922102149.2078168-2-subratp@marvell.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions