diff options
author | Geetha sowjanya <gakula@marvell.com> | 2025-05-21 11:38:34 +0530 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-05-22 12:17:44 +0200 |
commit | a6ae7129819ad20788e610261246e71736543b8b (patch) | |
tree | 1863432a060235be50ef9ed9ad1a9776dc150a72 /scripts/bpf_doc.py | |
parent | 0eefa27b493306928d88af6368193b134c98fd64 (diff) |
octeontx2-af: Fix APR entry mapping based on APR_LMT_CFG
The current implementation maps the APR table using a fixed size,
which can lead to incorrect mapping when the number of PFs and VFs
varies.
This patch corrects the mapping by calculating the APR table
size dynamically based on the values configured in the
APR_LMT_CFG register, ensuring accurate representation
of APR entries in debugfs.
Fixes: 0daa55d033b0 ("octeontx2-af: cn10k: debugfs for dumping LMTST map table").
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Link: https://patch.msgid.link/20250521060834.19780-3-gakula@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions