get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2222602,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2222602/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260413073035.4082204-4-aleksandr.loktionov@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": "<20260413073035.4082204-4-aleksandr.loktionov@intel.com>",
    "date": "2026-04-13T07:30:33",
    "name": "[iwl-net,3/5] iavf: prevent VSI corruption when ring params changed during reset",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "93f1c46b65d6556021c85289fe2030a559c4ec12",
    "submitter": {
        "id": 75597,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/75597/?format=api",
        "name": "Loktionov, Aleksandr",
        "email": "aleksandr.loktionov@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260413073035.4082204-4-aleksandr.loktionov@intel.com/mbox/",
    "series": [
        {
            "id": 499654,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499654/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=499654",
            "date": "2026-04-13T07:30:30",
            "name": "iavf: five correctness fixes",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499654/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2222602/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2222602/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=OwL1en9h;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\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 4fvJwy4s4Qz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 13 Apr 2026 17:30:58 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 039CB60E5C;\n\tMon, 13 Apr 2026 07:30:47 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id COUmy5VpACwb; Mon, 13 Apr 2026 07:30:45 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 4683B61AD8;\n\tMon, 13 Apr 2026 07:30:45 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists1.osuosl.org (Postfix) with ESMTP id C656D194\n for <intel-wired-lan@lists.osuosl.org>; Mon, 13 Apr 2026 07:30:43 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id AC7748238D\n for <intel-wired-lan@lists.osuosl.org>; Mon, 13 Apr 2026 07:30:43 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id iG4eOqBjy6Uc for <intel-wired-lan@lists.osuosl.org>;\n Mon, 13 Apr 2026 07:30:42 +0000 (UTC)",
            "from mgamail.intel.com (mgamail.intel.com [192.198.163.12])\n by smtp1.osuosl.org (Postfix) with ESMTPS id AF73D84193\n for <intel-wired-lan@lists.osuosl.org>; Mon, 13 Apr 2026 07:30:42 +0000 (UTC)",
            "from orviesa001.jf.intel.com ([10.64.159.141])\n by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Apr 2026 00:30:42 -0700",
            "from amlin-019-225.igk.intel.com ([10.102.19.225])\n by orviesa001.jf.intel.com with ESMTP; 13 Apr 2026 00:30:41 -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 smtp3.osuosl.org 4683B61AD8",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org AF73D84193"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1776065445;\n\tbh=W1xI0bBNunllNsuk4/jnpm7QutxP8+n6tedzFzwwQCE=;\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=OwL1en9hziRsG/WFv6GEBWUU/xL0GhHhbZMRQl4Wru8uVKEE1WR2FJ+mfaNydjhB3\n\t 5q28EIeQT9JJYopl1J6urYxF+vaXEMPh5qMN55Vz+9fBOGAvEhn8cY7FobHrdZzPAA\n\t vZI+BMrRJ05AkqxB8Gz/vObLaasy9ZI92lL6x0eA/dhqCQa6NXsHiM481PTUlvTRVx\n\t YGsByvLRVM5/fCx03nZMROySugbJJhbzoKqjS1enbDJta5hOglwBsiDD5hCEtsbu3J\n\t DpPB749ux2Javb4VlyBj824ia7btMAvu/2gPq/+6Vju1Hd28amL+ctfErzhaAj5Pwc\n\t bWHhuG9ovHG4g==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=192.198.163.12;\n helo=mgamail.intel.com; envelope-from=aleksandr.loktionov@intel.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org AF73D84193",
        "X-CSE-ConnectionGUID": [
            "rVBXGSOBQDKjjcaTlQsNMg==",
            "OUEEpF2+TKa8ZrxWFrbaog=="
        ],
        "X-CSE-MsgGUID": [
            "uo4icXYuTw+KFEvfvlYSyQ==",
            "+/NwIoe9QEWOv7dHNLPQ0A=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6800,10657,11757\"; a=\"80876634\"",
            "E=Sophos;i=\"6.23,176,1770624000\"; d=\"scan'208\";a=\"80876634\"",
            "E=Sophos;i=\"6.23,176,1770624000\"; d=\"scan'208\";a=\"267700551\""
        ],
        "X-ExtLoop1": "1",
        "From": "Aleksandr Loktionov <aleksandr.loktionov@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org, anthony.l.nguyen@intel.com,\n aleksandr.loktionov@intel.com",
        "Cc": "netdev@vger.kernel.org,\n Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>",
        "Date": "Mon, 13 Apr 2026 09:30:33 +0200",
        "Message-ID": "<20260413073035.4082204-4-aleksandr.loktionov@intel.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260413073035.4082204-1-aleksandr.loktionov@intel.com>",
        "References": "<20260413073035.4082204-1-aleksandr.loktionov@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=1776065443; x=1807601443;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=BEQZpYdie0qiN2xtDyQz59CbnPWVsowDYUJhO2NHgJ0=;\n b=myWNNXZxwgAF1tS3KrbQP8MqQkJUzxg9+/9oGPjT8pU4z37Tyg4N1g7b\n h+LH+RqwLdoqPl5iVqy+HNhmdThtSgnVMn4Bc2N5Q+7U0WoTQ/B7OaURp\n eC5lKo1kV7Tbx0ay7q6AxMN0XstSL4ZcJM8ywxG5ioyTCNj3+AcNImsdm\n yVvHlxavLO3WNvumIquNw1ouyd4v4wOR7Dvr6ntV3+GR4maFUkQArwT/5\n J7ovuKNBuJUd9MXBDUdv6Ja0SaEmShoyQBuewDV1Idq17NAw3bTVvtttL\n dACWO9D5Jh/ztkkk8FUyvIblGvoFRqrGv/f0dZP8Yc5iNEH9oXrcz1Ajd\n A==;",
        "X-Mailman-Original-Authentication-Results": [
            "smtp1.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=intel.com",
            "smtp1.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=myWNNXZx"
        ],
        "Subject": "[Intel-wired-lan] [PATCH iwl-net 3/5] iavf: prevent VSI corruption\n when ring params changed during reset",
        "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: Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>\n\nChanging ring parameters via ethtool triggers a VF reset and queue\nreconfiguration. If ethtool is called again before the first reset\ncompletes, the second reset races with uninitialised queue state and\ncan corrupt the VSI resource tree on the PF side.\n\nReturn -EAGAIN from iavf_set_ringparam() when the adapter is already\nresetting or its queues are disabled.\n\nFixes: fbb7ddfef253 (\"i40evf: core ethtool functionality\")\nSigned-off-by: Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>\nSigned-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>\n---\n drivers/net/ethernet/intel/iavf/iavf_ethtool.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/iavf/iavf_ethtool.c b/drivers/net/ethernet/intel/iavf/iavf_ethtool.c\nindex 1cd1f3f..3909131 100644\n--- a/drivers/net/ethernet/intel/iavf/iavf_ethtool.c\n+++ b/drivers/net/ethernet/intel/iavf/iavf_ethtool.c\n@@ -495,6 +495,11 @@ static int iavf_set_ringparam(struct net_device *netdev,\n \tif ((ring->rx_mini_pending) || (ring->rx_jumbo_pending))\n \t\treturn -EINVAL;\n \n+\tif (adapter->state == __IAVF_RESETTING ||\n+\t    (adapter->state == __IAVF_RUNNING &&\n+\t     adapter->flags & IAVF_FLAG_QUEUES_DISABLED))\n+\t\treturn -EAGAIN;\n+\n \tif (ring->tx_pending > IAVF_MAX_TXD ||\n \t    ring->tx_pending < IAVF_MIN_TXD ||\n \t    ring->rx_pending > IAVF_MAX_RXD ||\n",
    "prefixes": [
        "iwl-net",
        "3/5"
    ]
}