From: Paul Greenwalt <[email protected]>

Update ice_link_mode_str_high() with string for 200G PHY types.
Without these entries the ice_dump_phy_type() debug helper prints
nothing for phy_type_high bits [5..15], covering all 200G and
400GBASE-FR8 PHY types supported by E825C hardware.

Signed-off-by: Paul Greenwalt <[email protected]>
Signed-off-by: Aleksandr Loktionov <[email protected]>
---
 drivers/net/ethernet/intel/ice/ice_common.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/net/ethernet/intel/ice/ice_common.c 
b/drivers/net/ethernet/intel/ice/ice_common.c
index ce11fea..7cdd6a0 100644
--- a/drivers/net/ethernet/intel/ice/ice_common.c
+++ b/drivers/net/ethernet/intel/ice/ice_common.c
@@ -84,6 +84,17 @@ static const char * const ice_link_mode_str_high[] = {
        [2] = "100G_CAUI2",
        [3] = "100G_AUI2_AOC_ACC",
        [4] = "100G_AUI2",
+       [5] = "200G_CR4_PAM4",
+       [6] = "200G_SR4",
+       [7] = "200G_FR4",
+       [8] = "200G_LR4",
+       [9] = "200G_DR4",
+       [10] = "200G_KR4_PAM4",
+       [11] = "200G_AUI4_AOC_ACC",
+       [12] = "200G_AUI4",
+       [13] = "200G_AUI8_AOC_ACC",
+       [14] = "200G_AUI8",
+       [15] = "400GBASE_FR8",
 };
 
 /**
-- 
2.52.0

Reply via email to