[net Patch 0/4] octeontx2-af: MAC block fixes for CN10KB

From: Hariprasad Kelam
Date: Fri Jun 30 2023 - 02:29:07 EST


This patch set contains fixes for the issues encountered in testing
CN10KB MAC block RPM_USX.

Patch1: firmware to kernel communication is not working due to wrong
interrupt configuration. CSR addresses are corrected.

Patch2: NIX to RVU PF mapping errors encountered due to wrong firmware
config. Corrects this mapping error.

Patch3: Driver is trying to access non exist cgx/lmac which is resulting
in kernel panic. Address this issue by adding proper checks.

Patch4: MAC features are not getting reset on FLR. Fix the issue by
resetting the stale config.



Hariprasad Kelam (4):
octeontx2-af: cn10kb: fix interrupt csr addresses
octeontx2-af: Fix mapping for NIX block from CGX connection
octeontx2-af: Add validation before accessing cgx and lmac
octeontx2-af: Reset MAC features in FLR

.../net/ethernet/marvell/octeontx2/af/cgx.c | 33 +++++++++++++++++--
.../net/ethernet/marvell/octeontx2/af/cgx.h | 2 ++
.../marvell/octeontx2/af/lmac_common.h | 3 ++
.../net/ethernet/marvell/octeontx2/af/rpm.c | 32 +++++++++++++++---
.../net/ethernet/marvell/octeontx2/af/rpm.h | 5 ++-
.../net/ethernet/marvell/octeontx2/af/rvu.c | 1 +
.../net/ethernet/marvell/octeontx2/af/rvu.h | 12 +++++++
.../ethernet/marvell/octeontx2/af/rvu_cgx.c | 20 ++++++++++-
8 files changed, 99 insertions(+), 9 deletions(-)

--
2.17.1