octeontx2-af: CN10KB: Add USGMII LMAC mode
authorHariprasad Kelam <hkelam@marvell.com>
Fri, 25 Aug 2023 10:40:19 +0000 (16:10 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2023 09:05:55 +0000 (10:05 +0100)
commit5266733c798652925aaf556aacc3f3389abc9d32
treee858b1352041b005a953676c320f8e7758026892
parentc639a708a0b8b69b7d580292a8f0405124488bad
octeontx2-af: CN10KB: Add USGMII LMAC mode

Upon physical link change, firmware reports to the kernel about the
change along with the details like speed, lmac_type_id, etc.
Kernel derives lmac_type based on lmac_type_id received from firmware.

This patch extends current lmac list with new USGMII mode supported
by CN10KB RPM block.

Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/cgx.c
drivers/net/ethernet/marvell/octeontx2/af/cgx.h