summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSuman Ghosh <sumang@marvell.com>2022-11-23 13:59:38 +0300
committerDavid S. Miller <davem@davemloft.net>2022-11-25 12:34:34 +0300
commit32b931c86d0aef4f3263de457f58d82e9cbae2a2 (patch)
treee5f143606a49fa06929b2a83b5e683f235a48475 /tools/perf/scripts/python/exported-sql-viewer.py
parentcc3d2b5fc0d6f8ad8a52da5ea679e5c2ec2adbd4 (diff)
downloadlinux-32b931c86d0aef4f3263de457f58d82e9cbae2a2.tar.xz
octeontx2-pf: Fix pfc_alloc_status array overflow
This patch addresses pfc_alloc_status array overflow occurring for send queue index value greater than PFC priority. Queue index can be greater than supported PFC priority for multiple scenarios (e.g. QoS, during non zero SMQ allocation for a PF/VF). In those scenarios the API should return default tx scheduler '0'. This is causing mbox errors as otx2_get_smq_idx returing invalid smq value. Fixes: 99c969a83d82 ("octeontx2-pf: Add egress PFC support") Signed-off-by: Suman Ghosh <sumang@marvell.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions