[net-next PatchV2 0/4] octeontx2-af: misc MAC block changes

From: Hariprasad Kelam
Date: Fri Aug 25 2023 - 06:41:23 EST


This series of patches adds recent changes added in MAC (CGX/RPM) block.

Patch1: Adds new LMAC mode supported by CN10KB silicon

Patch2: In a scenario where system boots with no cgx devices, currently
AF driver treats this as error as a result no interfaces will work.
This patch relaxes this check, such that non cgx mapped netdev
devices will work.

Patch3: This patch adds required lmac validation in MAC block APIs.

Patch4: Prints error message incase, no netdev is mapped with given
cgx,lmac pair.

Hariprasad Kelam (3):
octeontx2-af: CN10KB: Add USGMII LMAC mode
octeontx2-af: Add validation of lmac
octeontx2-af: print error message incase of invalid pf mapping

Sunil Goutham (1):
octeontx2-af: Don't treat lack of CGX interfaces as error
---
v2 * Removed patch #4 which is replacing generic error codes with driver
specific error codes.


drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 11 ++++++++---
drivers/net/ethernet/marvell/octeontx2/af/cgx.h | 1 +
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c | 7 ++++++-
3 files changed, 15 insertions(+), 4 deletions(-)

--
2.17.1