Skip to content

octeontx2-af: APR Mapping Fixes

Geetha sowjanya lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2octeontx2-af: Set LMT_ENA bit for APR table entriesdrivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c+13 -22 repliesApplied
2/2octeontx2-af: Fix APR entry mapping based on APR_LMT_CFGdrivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c+14 -63 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMichal Swiatkowski
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [net PATCH 0/2] octeontx2-af: APR Mapping Fixes

This patch series includes fixes related to APR (LMT) mapping and debugfs support.

Changes include:

Patch 1:Set LMT_ENA bit for APR table entries.
Enables the LMT line for each PF/VF by setting the LMT_ENA bit in the APR_LMT_MAP_ENTRY_S structure.

Patch-2:Fix APR entry in debugfs
The APR table was previously mapped using a fixed size, which could lead to incorrect mappings when the number of PFs and VFs differed from the assumed value. This patch updates the logic to calculate the APR table size dynamically, based on values from the APR_LMT_CFG register, ensuring correct representation in debugfs.

Geetha sowjanya (1):
octeontx2-af: Fix APR entry mapping based on APR_LMT_CFG

Subbaraya Sundeep (1):
octeontx2-af: Set LMT_ENA bit for APR table entries

 .../ethernet/marvell/octeontx2/af/rvu_cn10k.c | 24 +++++++++++++++----
 .../marvell/octeontx2/af/rvu_debugfs.c        | 11 ++++++---
 2 files changed, 27 insertions(+), 8 deletions(-)
Signature · 1 line
2.25.1