get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2229312/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2229312,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229312/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260428060009.311393-2-khai.wen.tan@linux.intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/46/?format=api",
        "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": ""
    },
    "msgid": "<20260428060009.311393-2-khai.wen.tan@linux.intel.com>",
    "date": "2026-04-28T06:00:07",
    "name": "[iwl-next,v4,1/3] igc: remove unused autoneg_failed field",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "9d0f1d8fede1bbe6f2ca1ff00a29c80d05db5796",
    "submitter": {
        "id": 93102,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/93102/?format=api",
        "name": "KhaiWenTan",
        "email": "khai.wen.tan@linux.intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260428060009.311393-2-khai.wen.tan@linux.intel.com/mbox/",
    "series": [
        {
            "id": 501766,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501766/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=501766",
            "date": "2026-04-28T06:00:06",
            "name": "igc: add support for forcing link speed without autonegotiation",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/501766/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2229312/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2229312/checks/",
    "tags": {},
    "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=UqJtamT6;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=140.211.166.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 [140.211.166.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 4g4Vjx71q3z1yJH\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 16:23:16 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id B42E940A4A;\n\tTue, 28 Apr 2026 06:23:13 +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 ac42CP0hTFcS; Tue, 28 Apr 2026 06:23:13 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 282E340A4C;\n\tTue, 28 Apr 2026 06:23:13 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists1.osuosl.org (Postfix) with ESMTP id 9085923D\n for <intel-wired-lan@lists.osuosl.org>; Tue, 28 Apr 2026 06:23:11 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 7AEFE40A4E\n for <intel-wired-lan@lists.osuosl.org>; Tue, 28 Apr 2026 06:23:11 +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 2aT8Jl_nMYbr for <intel-wired-lan@lists.osuosl.org>;\n Tue, 28 Apr 2026 06:23:11 +0000 (UTC)",
            "from mgamail.intel.com (mgamail.intel.com [192.198.163.15])\n by smtp4.osuosl.org (Postfix) with ESMTPS id D62B540A4C\n for <intel-wired-lan@lists.osuosl.org>; Tue, 28 Apr 2026 06:23:10 +0000 (UTC)",
            "from orviesa010.jf.intel.com ([10.64.159.150])\n by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Apr 2026 23:23:10 -0700",
            "from unknown (HELO localhost.png.intel.com) ([10.107.255.61])\n by orviesa010.jf.intel.com with ESMTP; 27 Apr 2026 23:23:07 -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 282E340A4C",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org D62B540A4C"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1777357393;\n\tbh=EVoEvpinx7UrEYecHHIFKB8fKx60mrGwXkn35wH4hQA=;\n\th=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=UqJtamT67TnNMd9Y6CECRUcujOwo3fSK+8DCIfSwkBGMbIwAo5EU0zxabXB7q3omr\n\t s/Q5imCQGfybVxbHm6XF6a9pgcdVLQd0L8ugx0HV4XGygB0z9Ny5kRViTp7oDOtVPC\n\t pNwEou0J54lBwqlWrDzD3BPjjntOIjYYZC9yARqE0tFNTm/p2gd9jjHH/e9iC8kzmL\n\t x2Xn3U6ZUG2LCkGo+EhRsplJeIPRmmaxNsgFBMKlMlhAKfw4dlYMCWzNXAn/XgkYbW\n\t jmndFlLCmpzybiMov8pe8I17kW9uADf7zq1dEjQUP5eNDNXwxMcXVDvwYlltT1lHo6\n\t ilC1wL/fgh+7Q==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=192.198.163.15;\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 D62B540A4C",
        "X-CSE-ConnectionGUID": [
            "RL3xWcNCQmOqCufE3JW9MA==",
            "7PGtAfTESOi1tVLNFHwETg=="
        ],
        "X-CSE-MsgGUID": [
            "IQVTZy0IST+vm7CFeGDp/A==",
            "lErCAqfdR8CQT9jWMbfbMQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6800,10657,11769\"; a=\"78366119\"",
            "E=Sophos;i=\"6.23,203,1770624000\"; d=\"scan'208\";a=\"78366119\"",
            "E=Sophos;i=\"6.23,203,1770624000\"; d=\"scan'208\";a=\"232986893\""
        ],
        "X-ExtLoop1": "1",
        "From": "KhaiWenTan <khai.wen.tan@linux.intel.com>",
        "To": "anthony.l.nguyen@intel.com, andrew+netdev@lunn.ch, davem@davemloft.net,\n edumazet@google.com, 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, khai.wen.tan@intel.com,\n Faizal Rahim <faizal.abdul.rahim@linux.intel.com>, Looi,\n Aleksandr Loktionov <aleksandr.loktionov@intel.com>,\n KhaiWenTan <khai.wen.tan@linux.intel.com>",
        "Date": "Tue, 28 Apr 2026 14:00:07 +0800",
        "Message-ID": "<20260428060009.311393-2-khai.wen.tan@linux.intel.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260428060009.311393-1-khai.wen.tan@linux.intel.com>",
        "References": "<20260428060009.311393-1-khai.wen.tan@linux.intel.com>",
        "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=1777357391; x=1808893391;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=EfOOrxhNAc002gBQ2b94VR1M0iDD4MM8+CD2KGS9Miw=;\n b=TAVK2NVN2dBE3tr/RYhSbhgQ6kWUt+IHKNGcDYeziW7YcPsxOoR3BhU4\n CVG6EuCRw8FNkswRxR1xeHEqpU7SheWqWjgN9hXVAnMNc4gc/wYshwjUD\n XE/r0ZKTchh5ytnCpYmF8a32g9UMNw7XrwdcG+wIHGOIBZ7jc8Sot9cKl\n RTS5ajTPnvq0nuuDWlV9ygpNTZZfzgspnyvlhYgaBCBCnhjr5BGl8Cbj1\n p9iYSI3ymRAX20324HKVIqCLcEQb7ejfwTeebq/QbSblPplkUiyyQdTbR\n Nh7secQJLLPOETOPXpp0vCCp7APELkikBFtxAdAqSCr8JUe0tZ0j0JjE1\n Q==;",
        "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=TAVK2NVN"
        ],
        "Subject": "[Intel-wired-lan] [PATCH iwl-next v4 1/3] igc: remove unused\n autoneg_failed field",
        "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\nautoneg_failed in struct igc_mac_info is never set in the igc driver.\nRemove the field and the dead code checking it in\nigc_config_fc_after_link_up().\n\nReviewed-by: Looi, Hong Aun <hong.aun.looi@intel.com>\nReviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>\nSigned-off-by: Faizal Rahim <faizal.abdul.rahim@linux.intel.com>\nSigned-off-by: KhaiWenTan <khai.wen.tan@linux.intel.com>\n---\n drivers/net/ethernet/intel/igc/igc_hw.h  |  1 -\n drivers/net/ethernet/intel/igc/igc_mac.c | 16 +---------------\n 2 files changed, 1 insertion(+), 16 deletions(-)\n\n--\n2.43.0",
    "diff": "diff --git a/drivers/net/ethernet/intel/igc/igc_hw.h b/drivers/net/ethernet/intel/igc/igc_hw.h\nindex be8a49a86d09..86ab8f566f44 100644\n--- a/drivers/net/ethernet/intel/igc/igc_hw.h\n+++ b/drivers/net/ethernet/intel/igc/igc_hw.h\n@@ -92,7 +92,6 @@ struct igc_mac_info {\n \tbool asf_firmware_present;\n \tbool arc_subsystem_valid;\n\n-\tbool autoneg_failed;\n \tbool get_link_status;\n };\n\ndiff --git a/drivers/net/ethernet/intel/igc/igc_mac.c b/drivers/net/ethernet/intel/igc/igc_mac.c\nindex 7ac6637f8db7..142beb9ae557 100644\n--- a/drivers/net/ethernet/intel/igc/igc_mac.c\n+++ b/drivers/net/ethernet/intel/igc/igc_mac.c\n@@ -438,28 +438,14 @@ void igc_config_collision_dist(struct igc_hw *hw)\n  * Checks the status of auto-negotiation after link up to ensure that the\n  * speed and duplex were not forced.  If the link needed to be forced, then\n  * flow control needs to be forced also.  If auto-negotiation is enabled\n- * and did not fail, then we configure flow control based on our link\n- * partner.\n+ * then we configure flow control based on our link partner.\n  */\n s32 igc_config_fc_after_link_up(struct igc_hw *hw)\n {\n \tu16 mii_status_reg, mii_nway_adv_reg, mii_nway_lp_ability_reg;\n-\tstruct igc_mac_info *mac = &hw->mac;\n \tu16 speed, duplex;\n \ts32 ret_val = 0;\n\n-\t/* Check for the case where we have fiber media and auto-neg failed\n-\t * so we had to force link.  In this case, we need to force the\n-\t * configuration of the MAC to match the \"fc\" parameter.\n-\t */\n-\tif (mac->autoneg_failed)\n-\t\tret_val = igc_force_mac_fc(hw);\n-\n-\tif (ret_val) {\n-\t\thw_dbg(\"Error forcing flow control settings\\n\");\n-\t\tgoto out;\n-\t}\n-\n \t/* In auto-neg, we need to check and see if Auto-Neg has completed,\n \t * and if so, how the PHY and link partner has flow control\n \t * configured.\n",
    "prefixes": [
        "iwl-next",
        "v4",
        "1/3"
    ]
}