linux/drivers/net/ethernet/intel
ValdikSS 1468c1f97c igc: fix disabling L1.2 PCI-E link substate on I226 on init
Device ID comparison in igc_is_device_id_i226 is performed before
the ID is set, resulting in always failing check on init.

Before the patch:
* L1.2 is not disabled on init
* L1.2 is properly disabled after suspend-resume cycle

With the patch:
* L1.2 is properly disabled both on init and after suspend-resume

How to test:
Connect to the 1G link with 300+ mbit/s Internet speed, and run
the download speed test, such as:

    curl -o /dev/null http://speedtest.selectel.ru/1GB

Without L1.2 disabled, the speed would be no more than ~200 mbit/s.
With L1.2 disabled, the speed would reach 1 gbit/s.
Note: it's required that the latency between your host and the remote
be around 3-5 ms, the test inside LAN (<1 ms latency) won't trigger the
issue.

Link: https://lore.kernel.org/intel-wired-lan/15248b4f-3271-42dd-8e35-02bfc92b25e1@intel.com
Fixes: 0325143b59 ("igc: disable L1.2 PCI-E link substate to avoid performance issue")
Signed-off-by: ValdikSS <iam@valdikss.org.ru>
Reviewed-by: Vitaly Lifshits <vitaly.lifshits@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Link: https://patch.msgid.link/20250819222000.3504873-6-anthony.l.nguyen@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-20 18:46:30 -07:00
..
e1000 e1000: Move cancel_work_sync to avoid deadlock 2025-06-10 09:10:47 -07:00
e1000e Networking changes for 6.17. 2025-07-30 08:58:55 -07:00
fm10k Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-17 11:00:33 -07:00
i40e Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 2025-07-25 16:01:18 -07:00
iavf iavf: use libie_aq_str 2025-07-24 09:43:40 -07:00
ice Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 2025-07-25 16:01:18 -07:00
idpf idpf: access ->pp through netmem_desc instead of page 2025-07-23 17:46:55 -07:00
igb Networking changes for 6.17. 2025-07-30 08:58:55 -07:00
igbvf igbvf: remove unused fields from struct igbvf_adapter 2025-07-18 09:02:28 -07:00
igc igc: fix disabling L1.2 PCI-E link substate on I226 on init 2025-08-20 18:46:30 -07:00
ixgbe ixgbe: fix ndo_xdp_xmit() workloads 2025-08-20 18:46:30 -07:00
ixgbevf net: Fix typos 2025-07-25 10:29:07 -07:00
libeth libeth: xsk: add XSkFQ refill and XSk wakeup helpers 2025-06-16 11:40:15 -07:00
libie libie: add adminq helper for converting err to str 2025-07-24 09:38:29 -07:00
e100.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
Kconfig i40e: use libie_aq_str 2025-07-24 09:45:43 -07:00
Makefile