diff options
author | Hariprasad Kelam <hkelam@marvell.com> | 2023-08-25 12:40:19 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-08-28 11:05:55 +0200 |
commit | 5266733c798652925aaf556aacc3f3389abc9d32 (patch) | |
tree | e858b1352041b005a953676c320f8e7758026892 /drivers/net/ethernet/marvell/octeontx2/af/cgx.h | |
parent | dt-bindings: net: xilinx_gmii2rgmii: Convert to json schema (diff) | |
download | linux-5266733c798652925aaf556aacc3f3389abc9d32.tar.xz linux-5266733c798652925aaf556aacc3f3389abc9d32.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/marvell/octeontx2/af/cgx.h')
-rw-r--r-- | drivers/net/ethernet/marvell/octeontx2/af/cgx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/cgx.h b/drivers/net/ethernet/marvell/octeontx2/af/cgx.h index 574114179688..6f7d1dee5830 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/cgx.h +++ b/drivers/net/ethernet/marvell/octeontx2/af/cgx.h @@ -110,6 +110,7 @@ enum LMAC_TYPE { LMAC_MODE_50G_R = 8, LMAC_MODE_100G_R = 9, LMAC_MODE_USXGMII = 10, + LMAC_MODE_USGMII = 11, LMAC_MODE_MAX, }; |