Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] e1000e: inaccurate Fixes tag and commit attribution for K1
  workaround
--

commit 5c9c29651f27bff328cda7813a58dbb82ff6d70b
Author: Dima Ruinskiy <[email protected]>

> e1000e: remove K1 workaround from Nova Lake
>
> Commit 3c7bf5af2196 ("e1000e: Introduce private flag to disable K1")
> implemented a workaround for packet loss issues when the K1 low-power link
> state is enabled on the integrated LAN on several generations of platforms,
> between Meteor Lake and Panther Lake. On Nova Lake platforms, it is not
> needed, and may cause noticeable performance degradations.
>
> Now that board_pch_nvp and e1000_pch_nvp are distinct types, add another
> MAC type check in e1000_reconfigure_k1_params() so that it never applies
> to MAC types before Meteor Lake or after Panther Lake.
>
> Tested on an I219-V29 (8086:57ba), K1 enabled, 1 Gb/s link. For each test,
> first line is the result without the patch, second line is with the patch.
>
>   iperf3 TCP receive, 20 s runs:
>       16-50 Mbps, 72-208 rx_crc_errors per run
>       949 Mbps, 0 rx_crc_errors (5 of 5 runs)
>   UDP 120 Mbps for 120 s, 2 runs:
>       0.55-0.67 % lost, 1855-2651 rx_crc_errors
>       0 % lost, 0 rx_crc_errors
>   HTTPS download of a 4.3 GB and a 3.5 GB file:
>       5.6 and 10.3 MB/s
>       74 and 59 MB/s
>
> Fixes: 3c7bf5af2196 ("e1000e: Introduce private flag to disable K1")
> Signed-off-by: Dima Ruinskiy <[email protected]>
> Co-developed-by: Michael Edri <[email protected]>
> Signed-off-by: Michael Edri <[email protected]>

[Severity: Low]
Should the commit description and Fixes tag reference efaaf344bc29 ("e1000e:
change k1 configuration on MTP and later platforms") instead of 3c7bf5af2196
("e1000e: Introduce private flag to disable K1")?

In e1000_reconfigure_k1_params(), the early return for hw->mac.type >
e1000_pch_ptp still honors FLAG2_DISABLE_K1 (added in 3c7bf5af2196 ("e1000e:
Introduce private flag to disable K1")), while skipping the FEXTNVM12 and
I217_PHY_TIMEOUTS_REG K1 parameter workaround introduced by efaaf344bc29
("e1000e: change k1 configuration on MTP and later platforms").

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=2

Reply via email to