Skip to content

Commit 67b17d6

Browse files
gnitkagregkh
authored andcommitted
ice: update PCS latency settings for E825 10G/25Gb modes
[ Upstream commit 05567e4 ] Update MAC Rx/Tx offset registers settings (PHY_MAC_[RX|TX]_OFFSET registers) with the data obtained with the latest research. It applies to PCS latency settings for the following speeds/modes: * 10Gb NO-FEC - TX latency changed from 71.25 ns to 73 ns - RX latency changed from -25.6 ns to -28 ns * 25Gb NO-FEC - TX latency changed from 28.17 ns to 33 ns - RX latency changed from -12.45 ns to -12 ns * 25Gb RS-FEC - TX latency changed from 64.5 ns to 69 ns - RX latency changed from -3.6 ns to -3 ns The original data came from simulation and pre-production hardware. The new data measures the actual delays and as such is more accurate. Fixes: 7cab44f ("ice: Introduce ETH56G PHY model for E825C products") Co-developed-by: Zoltan Fodor <zoltan.fodor@intel.com> Signed-off-by: Zoltan Fodor <zoltan.fodor@intel.com> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Grzegorz Nitka <grzegorz.nitka@intel.com> Tested-by: Sunitha Mekala <sunithax.d.mekala@intel.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20260416-iwl-net-submission-2026-04-14-v2-2-686c33c9828d@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 73f7c61 commit 67b17d6

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

drivers/net/ethernet/intel/ice/ice_ptp_consts.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ struct ice_eth56g_mac_reg_cfg eth56g_mac_cfg[NUM_ICE_ETH56G_LNK_SPD] = {
123123
.blktime = 0x666, /* 3.2 */
124124
.tx_offset = {
125125
.serdes = 0x234c, /* 17.6484848 */
126-
.no_fec = 0x8e80, /* 71.25 */
126+
.no_fec = 0x93d9, /* 73 */
127127
.fc = 0xb4a4, /* 90.32 */
128128
.sfd = 0x4a4, /* 2.32 */
129129
.onestep = 0x4ccd /* 38.4 */
130130
},
131131
.rx_offset = {
132132
.serdes = 0xffffeb27, /* -10.42424 */
133-
.no_fec = 0xffffcccd, /* -25.6 */
133+
.no_fec = 0xffffc7b6, /* -28 */
134134
.fc = 0xfffc557b, /* -469.26 */
135135
.sfd = 0x4a4, /* 2.32 */
136136
.bs_ds = 0x32 /* 0.0969697 */
@@ -163,17 +163,17 @@ struct ice_eth56g_mac_reg_cfg eth56g_mac_cfg[NUM_ICE_ETH56G_LNK_SPD] = {
163163
.mktime = 0x147b, /* 10.24, only if RS-FEC enabled */
164164
.tx_offset = {
165165
.serdes = 0xe1e, /* 7.0593939 */
166-
.no_fec = 0x3857, /* 28.17 */
166+
.no_fec = 0x4266, /* 33 */
167167
.fc = 0x48c3, /* 36.38 */
168-
.rs = 0x8100, /* 64.5 */
168+
.rs = 0x8a00, /* 69 */
169169
.sfd = 0x1dc, /* 0.93 */
170170
.onestep = 0x1eb8 /* 15.36 */
171171
},
172172
.rx_offset = {
173173
.serdes = 0xfffff7a9, /* -4.1697 */
174-
.no_fec = 0xffffe71a, /* -12.45 */
174+
.no_fec = 0xffffe700, /* -12 */
175175
.fc = 0xfffe894d, /* -187.35 */
176-
.rs = 0xfffff8cd, /* -3.6 */
176+
.rs = 0xfffff8cc, /* -3 */
177177
.sfd = 0x1dc, /* 0.93 */
178178
.bs_ds = 0x14 /* 0.0387879, RS-FEC 0 */
179179
}

0 commit comments

Comments
 (0)