{"id":2234759,"url":"http://patchwork.ozlabs.org/api/1.2/covers/2234759/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/cover/20260507214706.309984-1-khai.wen.tan@linux.intel.com/","project":{"id":46,"url":"http://patchwork.ozlabs.org/api/1.2/projects/46/?format=json","name":"Intel Wired Ethernet development","link_name":"intel-wired-lan","list_id":"intel-wired-lan.osuosl.org","list_email":"intel-wired-lan@osuosl.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260507214706.309984-1-khai.wen.tan@linux.intel.com>","list_archive_url":null,"date":"2026-05-07T21:47:02","name":"[iwl-next,v5,0/4] igc: add support for forcing link speed without autonegotiation","submitter":{"id":93102,"url":"http://patchwork.ozlabs.org/api/1.2/people/93102/?format=json","name":"KhaiWenTan","email":"khai.wen.tan@linux.intel.com"},"mbox":"http://patchwork.ozlabs.org/project/intel-wired-lan/cover/20260507214706.309984-1-khai.wen.tan@linux.intel.com/mbox/","series":[{"id":503316,"url":"http://patchwork.ozlabs.org/api/1.2/series/503316/?format=json","web_url":"http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=503316","date":"2026-05-07T21:47:02","name":"igc: add support for forcing link speed without autonegotiation","version":5,"mbox":"http://patchwork.ozlabs.org/series/503316/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2234759/comments/","headers":{"Return-Path":"<intel-wired-lan-bounces@osuosl.org>","X-Original-To":["incoming@patchwork.ozlabs.org","intel-wired-lan@lists.osuosl.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","intel-wired-lan@lists.osuosl.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256\n header.s=default header.b=LPX25j5U;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gBZq04Shpz1yK7\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 13:48:42 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 8CAC5414C4;\n\tFri,  8 May 2026 03:48:40 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id a9nSG8e862XQ; Fri,  8 May 2026 03:48:39 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id C75D1414C5;\n\tFri,  8 May 2026 03:48:39 +0000 (UTC)","from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists1.osuosl.org (Postfix) with ESMTP id 94ACE272\n for <intel-wired-lan@lists.osuosl.org>; Fri,  8 May 2026 03:48:38 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 86824414C5\n for <intel-wired-lan@lists.osuosl.org>; Fri,  8 May 2026 03:48:38 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id c-Jp6ZCAoVQC for <intel-wired-lan@lists.osuosl.org>;\n Fri,  8 May 2026 03:48:37 +0000 (UTC)","from mgamail.intel.com (mgamail.intel.com [198.175.65.13])\n by smtp4.osuosl.org (Postfix) with ESMTPS id 40833414C4\n for <intel-wired-lan@lists.osuosl.org>; Fri,  8 May 2026 03:48:36 +0000 (UTC)","from orviesa009.jf.intel.com ([10.64.159.149])\n by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 May 2026 20:48:36 -0700","from unknown (HELO localhost.png.intel.com) ([10.107.255.61])\n by orviesa009.jf.intel.com with ESMTP; 07 May 2026 20:48:32 -0700"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp4.osuosl.org C75D1414C5","OpenDKIM Filter v2.11.0 smtp4.osuosl.org 40833414C4"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1778212119;\n\tbh=Y+Iovo2BX1YOXbf5FlyaNUyEjV/bQI08Zym9OXJLDEQ=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=LPX25j5UX3LF1sziYvSfalXZgThX4y7as3K1pyVLh1KVUIKeXR/nbBHjdVRdv8Kl6\n\t +ytu9RRm5/cStigfQESpFnY6f3d1iajYxKaHW/h+7IX5rKU974mZgHZHLM9MAq4nS4\n\t r16psAUsvaVImoeuJOwnDKr2UGL/cPuM4YbaB9zOHNmJZQ9WJ2qEwmBw2xtj9BwMHL\n\t 1xYiywjFvW81LMJzF/UOnXEEST9M07HmuMoQ3fRqF3YMb0XjmmmBXAUHXM/JhtMnQZ\n\t kcrT/yNz0WJv5ZDAU5EounvzpP6j1yYKLxiRipfbH2iX3iP1qV1xe+6zpUiesl5oz5\n\t x1XjhZNxljh9w==","Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=198.175.65.13;\n helo=mgamail.intel.com; envelope-from=khai.wen.tan@linux.intel.com;\n receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp4.osuosl.org 40833414C4","X-CSE-ConnectionGUID":["Q6OG2VXpTLK6ybVA/jJAlw==","3/Z9CBXmTRSYCygsnAIrvw=="],"X-CSE-MsgGUID":["9re3Cxg8RoasWN+7jTCR3g==","JiV19TWjR6mRUIHunpGUFg=="],"X-IronPort-AV":["E=McAfee;i=\"6800,10657,11779\"; a=\"90278833\"","E=Sophos;i=\"6.23,222,1770624000\"; d=\"scan'208\";a=\"90278833\"","E=Sophos;i=\"6.23,222,1770624000\"; d=\"scan'208\";a=\"236767290\""],"X-ExtLoop1":"1","From":"KhaiWenTan <khai.wen.tan@linux.intel.com>","To":"anthony.l.nguyen@intel.com, przemyslaw.kitszel@intel.com,\n andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,\n kuba@kernel.org, pabeni@redhat.com","Cc":"intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org,\n linux-kernel@vger.kernel.org, faizal.abdul.rahim@intel.com,\n hong.aun.looi@intel.com, hector.blanco.alcaine@intel.com,\n khai.wen.tan@intel.com, Faizal Rahim <faizal.abdul.rahim@linux.intel.com>","Date":"Fri,  8 May 2026 05:47:02 +0800","Message-ID":"<20260507214706.309984-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;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1778212118; x=1809748118;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=9sJ6IMJ5LymCVMvZk1BOFaSeUfznGdj4PM9e7IORzXI=;\n b=HJI5z7TWXTK8jsKOK7V41Qop/bJ4aPW5ylK77CU4rFQbfNSRbYg7aJfS\n BTEuhhPtMuaab86dmiQa6osb3+ynIQatQ7mNeHNPrWMbd+dIrpnkDteGt\n nrXCk3NxanY00GATLNp9Uj9msSZ0tkqaVoSv7xasjeIHFBEYickOflBzg\n UB7JpUaA5U9gk/UAErNpYDETQfjvXpfzTlp35ciiz3R3AOLHnb1M/0ax6\n siEfIh4w9UMRIWoOmbyBEVlW2eTp396e/PBnNwKzOSPpuwFo+4fWYH+k9\n OiiuRIVMDTE450bNlTSmUH0fkKyQwm6i9HcC3NKepNIz/Qk9Cw1k8OQnL\n w==;","X-Mailman-Original-Authentication-Results":["smtp4.osuosl.org;\n dmarc=none (p=none dis=none)\n header.from=linux.intel.com","smtp4.osuosl.org;\n dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.a=rsa-sha256 header.s=Intel header.b=HJI5z7TW"],"Subject":"[Intel-wired-lan] [PATCH iwl-next v5 0/4] igc: add support for\n 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\n <intel-wired-lan.osuosl.org>","List-Unsubscribe":"<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>","List-Archive":"<http://lists.osuosl.org/pipermail/intel-wired-lan/>","List-Post":"<mailto:intel-wired-lan@osuosl.org>","List-Help":"<mailto:intel-wired-lan-request@osuosl.org?subject=help>","List-Subscribe":"<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>","Errors-To":"intel-wired-lan-bounces@osuosl.org","Sender":"\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"},"content":"From: Faizal Rahim <faizal.abdul.rahim@linux.intel.com>\n\nThis series adds support for forcing 10/100 Mb/s link speed via ethtool\nwhen autonegotiation is disabled on the igc driver.\n\nChanges in v5:\n- add removal justification to include copper context in commit\n  description for igc: remove unused autoneg_failed field (Paul)\n- check that cmd->base.duplex is either DUPLEX_HALF or DUPLEX_FULL\n  in igc_ethtool_set_link_ksettings() (Simon)\n- dynamically override hw->fc.current_mode to igc_fc_none during\n  link configuration instead of mutating requested_mode (Simon)\n\nChanges in v4:\n- Validate that autoneg is AUTONEG_ENABLE or AUTONEG_DISABLE early\n  in igc_ethtool_set_link_ksettings() to avoid passing unexpected\n  values to igc_handle_autoneg_disabled(). (Simon Horman)\n\nChanges in v3:\n- Modify condition from \"if (duplex == DUPLEX_HALF)\" to\n  \"if (duplex != DUPLEX_FULL)\". (Simon Horman)\n\nChanges in v2:\n- When forcing half-duplex, set hw->fc.requested_mode = igc_fc_none,\n  since half-duplex cannot support flow control per IEEE 802.3.\n  (Simon Horman)\n- Split the original single patch into three patches for clarity:\n  patches 1 and 2 are preparatory cleanups; patch 3 carries the\n  functional change.\n\nv4 at:\nhttps://patchwork.ozlabs.org/project/intel-wired-lan/cover/20260428060009.311393-1-khai.wen.tan@linux.intel.com/\n\nv3 at:\nhttps://patchwork.ozlabs.org/project/intel-wired-lan/cover/20260422155701.7420-1-khai.wen.tan@linux.intel.com/\n\nv2 at:\nhttps://patchwork.kernel.org/project/netdevbpf/patch/20260416015520.6090-4-khai.wen.tan@linux.intel.com/\n\nv1 at:\nhttps://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260409072747.217836-1-khai.wen.tan@linux.intel.com/\n\nFaizal Rahim (4):\n  igc: remove unused autoneg_failed field\n  igc: move autoneg-enabled settings into igc_handle_autoneg_enabled()\n  igc: replace goto out with direct returns in\n    igc_config_fc_after_link_up()\n  igc: add support for forcing link speed without autonegotiation\n\n drivers/net/ethernet/intel/igc/igc_base.c    |  35 +++-\n drivers/net/ethernet/intel/igc/igc_defines.h |   9 +-\n drivers/net/ethernet/intel/igc/igc_ethtool.c | 210 +++++++++++++------\n drivers/net/ethernet/intel/igc/igc_hw.h      |  10 +-\n drivers/net/ethernet/intel/igc/igc_mac.c     |  35 ++--\n drivers/net/ethernet/intel/igc/igc_main.c    |   2 +-\n drivers/net/ethernet/intel/igc/igc_phy.c     |  65 +++++-\n drivers/net/ethernet/intel/igc/igc_phy.h     |   1 +\n 8 files changed, 268 insertions(+), 99 deletions(-)\n\n--\n2.43.0"}