From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 02680FA1FD0 for ; Wed, 22 Apr 2026 16:20:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id A58F260C22; Wed, 22 Apr 2026 16:20:13 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 5vp-Ud2k1Gfk; Wed, 22 Apr 2026 16:20:11 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 712C860D94 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1776874811; bh=0opA4S5HZjOnLSZMufi0fYXRH7/cC906jGC9QLHgEe0=; h=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=snjRV4BYpEnyVtiqlLZES9Phrb4JAGR4w+ge3Q/9fY0NjzEhIkj0o8kQJ8wdlDsTc i514n8zV3D0QSuipOIwfCPapHkX+pmMaqMILPYXhBtEuMKgv3kV1Dta/ac4+yoqMX7 bzjm7cqdq/pnJnkHAOXY1nC56qBUeP0zZFWXF4mRtzR5HD2jTU/TYkpv1IUZjWyfCo 73qEKgdKZRjlDEx5C4o5xQV418C6qCklIzcIzzKpmDaH6P5ZOCUHfENvnBqDEfZG3q 89uvCaCLYU4jrGlSlPG1+oDDaP9LSFP6Gmhq7r+OUvhWlIQ+G2lqPnk0ct33lsfXu+ TJW3D6Xm1xZIQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 712C860D94; Wed, 22 Apr 2026 16:20:11 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists1.osuosl.org (Postfix) with ESMTP id A1FD824D for ; Wed, 22 Apr 2026 16:20:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 88535401C7 for ; Wed, 22 Apr 2026 16:20:09 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 8I_1GSk-xOZJ for ; Wed, 22 Apr 2026 16:20:08 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=198.175.65.11; helo=mgamail.intel.com; envelope-from=khai.wen.tan@linux.intel.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org E16534029B DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org E16534029B Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) by smtp4.osuosl.org (Postfix) with ESMTPS id E16534029B for ; Wed, 22 Apr 2026 16:20:07 +0000 (UTC) X-CSE-ConnectionGUID: MZMQzrMZQDqL8d7R2CcEHg== X-CSE-MsgGUID: uD972XVaS5Oxt7uKRi66XQ== X-IronPort-AV: E=McAfee;i="6800,10657,11764"; a="88134459" X-IronPort-AV: E=Sophos;i="6.23,193,1770624000"; d="scan'208";a="88134459" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2026 09:20:07 -0700 X-CSE-ConnectionGUID: w0LEF1wJTcy4bK6zG8h0tw== X-CSE-MsgGUID: g1ONIYzqTkuMuwXE53Wm/A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,193,1770624000"; d="scan'208";a="228052418" Received: from unknown (HELO localhost.png.intel.com) ([10.107.255.61]) by fmviesa010.fm.intel.com with ESMTP; 22 Apr 2026 09:20:03 -0700 From: KhaiWenTan To: anthony.l.nguyen@intel.com, przemyslaw.kitszel@intel.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, faizal.abdul.rahim@intel.com, hong.aun.looi@intel.com, khai.wen.tan@intel.com, Faizal Rahim Date: Wed, 22 Apr 2026 23:56:58 +0800 Message-ID: <20260422155701.7420-1-khai.wen.tan@linux.intel.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1776874808; x=1808410808; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Ut5giVmbsImJs8yL0H3YCWudMqhBdgqTW7EV5XSP3Ls=; b=Qt2cBY4djaOg3BYo/VhGHGnpo5rUgpXkyhcJ36TV/rSJtQiECZR0jAU/ R5+dKX8X2kl/gxDvMpRQdGrMuj/WoVeIPWYckOT9ZFo801HPJ1Aeq1Xje ZtoTOPSIHZcOKVIm3Sa0bPrxoMVpaIArz97OS1vDz0EasKxiUfFag9iu5 QspuibGmVUzRIHiPYF0Sf/UDf9vsyBo8MOmElv11gtHtGDLIH2gRMFWe7 GEZh5xV2bdk/XK4chZS6V++K11uoaJlcNOaXtEWghgUdpnMPM+zFaqH7N 1eev7nk/Hvk3ddHZ0mP0tfm3YzmpO1YHV9aUhwJaQJUtNUx5vK/Tov5tu A==; X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=none (p=none dis=none) header.from=linux.intel.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Qt2cBY4d Subject: [Intel-wired-lan] [PATCH iwl-next v3 0/3] igc: add support for forcing link speed without autonegotiation X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" From: Faizal Rahim This series adds support for forcing 10/100 Mb/s link speed via ethtool when autonegotiation is disabled on the igc driver. Changes in v3: - Modify condition from "if (duplex == DUPLEX_HALF)" to "if (duplex != DUPLEX_FULL)". (Simon Horman) Changes in v2: - When forcing half-duplex, set hw->fc.requested_mode = igc_fc_none, since half-duplex cannot support flow control per IEEE 802.3. (Simon Horman) - Split the original single patch into three patches for clarity: patches 1 and 2 are preparatory cleanups; patch 3 carries the functional change. v2 at: https://patchwork.kernel.org/project/netdevbpf/patch/20260416015520.6090-4-khai.wen.tan@linux.intel.com/ v1 at: https://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260409072747.217836-1-khai.wen.tan@linux.intel.com/ Faizal Rahim (3): igc: remove unused autoneg_failed field igc: move autoneg-enabled settings into igc_handle_autoneg_enabled() igc: add support for forcing link speed without autonegotiation drivers/net/ethernet/intel/igc/igc_base.c | 35 +++- drivers/net/ethernet/intel/igc/igc_defines.h | 9 +- drivers/net/ethernet/intel/igc/igc_ethtool.c | 203 +++++++++++++------ drivers/net/ethernet/intel/igc/igc_hw.h | 10 +- drivers/net/ethernet/intel/igc/igc_mac.c | 16 +- drivers/net/ethernet/intel/igc/igc_main.c | 2 +- drivers/net/ethernet/intel/igc/igc_phy.c | 65 +++++- drivers/net/ethernet/intel/igc/igc_phy.h | 1 + 8 files changed, 251 insertions(+), 90 deletions(-) -- 2.43.0