struct ice_serdes_equalization_to_ethtool { int rx_equ_pre2; int rx_equ_pre1; int rx_equ_post1; int rx_equ_bflf; int rx_equ_bfhf; int rx_equ_ctle_gainhf; int rx_equ_ctle_gainlf; int rx_equ_ctle_gaindc; int rx_equ_ctle_bw; int rx_equ_dfe_gain; int rx_equ_dfe_gain_2; int rx_equ_dfe_2; int rx_equ_dfe_3; int rx_equ_dfe_4; int rx_equ_dfe_5; int rx_equ_dfe_6; int rx_equ_dfe_7; int rx_equ_dfe_8; int rx_equ_dfe_9; int rx_equ_dfe_10; int rx_equ_dfe_11; int rx_equ_dfe_12; int tx_equ_pre1; int tx_equ_pre3; int tx_equ_atten; int tx_equ_post1; int tx_equ_pre2;
};
struct ice_regdump_to_ethtool { /* A multilane port can have max 4 serdes */ struct ice_serdes_equalization_to_ethtool equalization[4];
};
/* Port topology from lport i.e. * serdes mapping, pcsquad, macport, cage etc...
*/ struct ice_port_topology {
u16 pcs_port;
u16 primary_serdes_lane;
u16 serdes_lane_count;
u16 pcs_quad_select;
};
/* Macro to make PHY type to Ethtool link mode table entry. * The index is the PHY type.
*/ #define ICE_PHY_TYPE(LINK_SPEED, ETHTOOL_LINK_MODE) {\
.aq_link_speed = ICE_AQ_LINK_SPEED_##LINK_SPEED, \
.link_mode = ETHTOOL_LINK_MODE_##ETHTOOL_LINK_MODE##_BIT, \
}
/* Lookup table mapping PHY type high to link speed and Ethtool link modes. * Array index corresponds to HW PHY type bit, see * ice_adminq_cmd.h:ICE_PHY_TYPE_HIGH_*
*/ staticconststruct ice_phy_type_to_ethtool
phy_type_high_lkup[] = {
[0] = ICE_PHY_TYPE(100GB, 100000baseKR2_Full),
[1] = ICE_PHY_TYPE(100GB, 100000baseSR2_Full),
[2] = ICE_PHY_TYPE(100GB, 100000baseCR2_Full),
[3] = ICE_PHY_TYPE(100GB, 100000baseSR2_Full),
[4] = ICE_PHY_TYPE(100GB, 100000baseCR2_Full),
[5] = ICE_PHY_TYPE(200GB, 200000baseCR4_Full),
[6] = ICE_PHY_TYPE(200GB, 200000baseSR4_Full),
[7] = ICE_PHY_TYPE(200GB, 200000baseLR4_ER4_FR4_Full),
[8] = ICE_PHY_TYPE(200GB, 200000baseLR4_ER4_FR4_Full),
[9] = ICE_PHY_TYPE(200GB, 200000baseDR4_Full),
[10] = ICE_PHY_TYPE(200GB, 200000baseKR4_Full),
[11] = ICE_PHY_TYPE(200GB, 200000baseSR4_Full),
[12] = ICE_PHY_TYPE(200GB, 200000baseCR4_Full),
};
#endif/* !_ICE_ETHTOOL_H_ */
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.13Bemerkung:
(vorverarbeitet am 2026-06-07)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.