[net-next Patch 0/5] octeontx2-af: misc MAC block changes

From: Hariprasad Kelam
Date: Thu Aug 17 2023 - 07:25:21 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: This patch replaces generic error codes with driver specific error
codes for better debugging.

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


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

Sunil Goutham (1):
octeontx2-af: Don't treat lack of CGX interfaces as error

.../net/ethernet/marvell/octeontx2/af/cgx.c | 11 +++++--
.../net/ethernet/marvell/octeontx2/af/cgx.h | 1 +
.../ethernet/marvell/octeontx2/af/rvu_cgx.c | 31 +++++++++++--------
3 files changed, 27 insertions(+), 16 deletions(-)

--
2.17.1