Fix ETH56G FC-FEC incorrect Rx offset value by changing it from -255.96
to -469.26 ns.
Those values are derived from HW spec and reflect internal delays.
Hex value is a fixed point representation in Q23.9 format.

Fixes: 7cab44f1c35f ("ice: Introduce ETH56G PHY model for E825C products")
Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalew...@intel.com>
Signed-off-by: Karol Kolacinski <karol.kolacin...@intel.com>
---
 drivers/net/ethernet/intel/ice/ice_ptp_consts.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/ice/ice_ptp_consts.h 
b/drivers/net/ethernet/intel/ice/ice_ptp_consts.h
index e63f2a36eabf..339b9f59ddde 100644
--- a/drivers/net/ethernet/intel/ice/ice_ptp_consts.h
+++ b/drivers/net/ethernet/intel/ice/ice_ptp_consts.h
@@ -86,7 +86,7 @@ struct ice_eth56g_mac_reg_cfg 
eth56g_mac_cfg[NUM_ICE_ETH56G_LNK_SPD] = {
                .rx_offset = {
                        .serdes = 0xffffeb27, /* -10.42424 */
                        .no_fec = 0xffffcccd, /* -25.6 */
-                       .fc = 0xfffe0014, /* -255.96 */
+                       .fc = 0xfffc557b, /* -469.26 */
                        .sfd = 0x4a4, /* 2.32 */
                        .bs_ds = 0x32 /* 0.0969697 */
                }
-- 
2.46.2

Reply via email to