get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2223069,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2223069/?format=api",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/1.0/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": "<20260414110006.124286-2-jtornosm@redhat.com>",
    "date": "2026-04-14T11:00:02",
    "name": "[net,v3,1/5] iavf: return EBUSY if reset in progress or not ready during MAC change",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a882ff00fae87e21297cb000a4adcfd0492d78a5",
    "submitter": {
        "id": 93070,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/93070/?format=api",
        "name": "Jose Ignacio Tornos Martinez",
        "email": "jtornosm@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260414110006.124286-2-jtornosm@redhat.com/mbox/",
    "series": [
        {
            "id": 499816,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/499816/?format=api",
            "date": "2026-04-14T11:00:01",
            "name": "Fix i40e/ice/iavf VF bonding after netdev lock changes",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/499816/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2223069/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=y/g6x2+G;\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 4fw1XJ6JP7z1yDF\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 21:00:32 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id D960740F32;\n\tTue, 14 Apr 2026 11:00:30 +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 UpOHgM5_CABs; Tue, 14 Apr 2026 11:00:29 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id EAB6640ED1;\n\tTue, 14 Apr 2026 11:00:28 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n by lists1.osuosl.org (Postfix) with ESMTP id DFFC9283\n for <intel-wired-lan@lists.osuosl.org>; Tue, 14 Apr 2026 11:00:27 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id D25A140ED1\n for <intel-wired-lan@lists.osuosl.org>; Tue, 14 Apr 2026 11:00:27 +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 8dribBq2-1uE for <intel-wired-lan@lists.osuosl.org>;\n Tue, 14 Apr 2026 11:00:27 +0000 (UTC)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by smtp4.osuosl.org (Postfix) with ESMTPS id BF57740C84\n for <intel-wired-lan@lists.osuosl.org>; Tue, 14 Apr 2026 11:00:26 +0000 (UTC)",
            "from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-588-eTCdVHMOM0OBeQR3AtsDZA-1; Tue,\n 14 Apr 2026 07:00:22 -0400",
            "from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 1FAC1180034E; Tue, 14 Apr 2026 11:00:21 +0000 (UTC)",
            "from fedora.redhat.com (unknown [10.44.48.43])\n by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 814A03000C21; Tue, 14 Apr 2026 11:00:17 +0000 (UTC)"
        ],
        "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 EAB6640ED1",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org BF57740C84"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1776164429;\n\tbh=tLstqt8MpK55vIwUxGrwtfUC/VKq5oqZIuXPjU9AllQ=;\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=y/g6x2+GZBrBH2IiHhGRXXnfKxGpZLHHX41d1oiRl5WJW2nBDo8NoqpuEBjLlGIJd\n\t 1czn5+o2dNPTRHfwv7JXz1K07VDvd0ZZ/ohyPzZZcqAuHP9kD/+E/3H1oITv7eELCs\n\t 2sU1BlXg+Qwkf2JwxKNSlN/Ylm8UDEn4GOvt8iJTTM9u4L2P3XB5KwhJ+H90XwmGas\n\t g4oEIa8bLitXsvrWnLlsaJCzJx5cipPZtODry7h5n9ZAEhW53jxLwBHpnFj2Zfkcmx\n\t vGZTxECb7SJQY5Xa6QZq315+cZ1sgw2olZrSBOLXLoqYMGzm5PlCMWkMoIM5ndpNob\n\t +GRRl/psIbC/w==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=170.10.133.124;\n helo=us-smtp-delivery-124.mimecast.com; envelope-from=jtornosm@redhat.com;\n receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp4.osuosl.org BF57740C84",
        "X-MC-Unique": "eTCdVHMOM0OBeQR3AtsDZA-1",
        "X-Mimecast-MFC-AGG-ID": "eTCdVHMOM0OBeQR3AtsDZA_1776164421",
        "From": "Jose Ignacio Tornos Martinez <jtornosm@redhat.com>",
        "To": "netdev@vger.kernel.org",
        "Cc": "intel-wired-lan@lists.osuosl.org, jesse.brandeburg@intel.com,\n anthony.l.nguyen@intel.com, davem@davemloft.net, edumazet@google.com,\n kuba@kernel.org, pabeni@redhat.com,\n Jose Ignacio Tornos Martinez <jtornosm@redhat.com>",
        "Date": "Tue, 14 Apr 2026 13:00:02 +0200",
        "Message-ID": "<20260414110006.124286-2-jtornosm@redhat.com>",
        "In-Reply-To": "<20260414110006.124286-1-jtornosm@redhat.com>",
        "References": "<20260414110006.124286-1-jtornosm@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.4",
        "X-Mimecast-MFC-PROC-ID": "fAkf4V1LiitfxNhl91cLYrKPdsZs0u6slU0gpw7M4VE_1776164421",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "content-type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com;\n s=mimecast20190719; t=1776164425;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=tLstqt8MpK55vIwUxGrwtfUC/VKq5oqZIuXPjU9AllQ=;\n b=CqtQlMoBBDWQuvCyaQpR9YssQU6dyLkpNgIkJIrOiImJdJa76hi0/y4j53lYG7yS09vp0n\n H6QPPCnCm+4LD3xIkeTflGL8mDRtWjMIpDNlHkNaoQB5x4OnDhfl4JxkYgTZgR8cPx1s1A\n zamZ2H+i7fNpfcw6b/yY462xniYZL3w=",
        "X-Mailman-Original-Authentication-Results": [
            "smtp4.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "smtp4.osuosl.org;\n dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.a=rsa-sha256 header.s=mimecast20190719 header.b=CqtQlMoB"
        ],
        "Subject": "[Intel-wired-lan] [PATCH net v3 1/5] iavf: return EBUSY if reset in\n progress or not ready during MAC change",
        "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": "When a MAC address change is requested while the VF is resetting or still\ninitializing, return -EBUSY immediately instead of attempting the\noperation.\n\nAdditionally, during early initialization states (before __IAVF_DOWN),\nthe PF may be slow to respond to MAC change requests, causing long\ndelays. Only allow MAC changes once the VF reaches __IAVF_DOWN state or\nlater, when the watchdog is running and the VF is ready for operations.\n\nAfter commit ad7c7b2172c3 (\"net: hold netdev instance lock\nduring sysfs operations\"), MAC changes are called with the netdev lock\nheld, so we should not wait with the lock held during reset or\ninitialization. This allows the caller to retry or handle the busy state\nappropriately without blocking other operations.\n\nSigned-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>\n\n drivers/net/ethernet/intel/iavf/iavf_main.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/ethernet/intel/iavf/iavf_main.c b/drivers/net/ethernet/intel/iavf/iavf_main.c\nindex dad001abc908..67aa14350b1b 100644\n--- a/drivers/net/ethernet/intel/iavf/iavf_main.c\n+++ b/drivers/net/ethernet/intel/iavf/iavf_main.c\n@@ -1060,6 +1060,9 @@ static int iavf_set_mac(struct net_device *netdev, void *p)\n \tstruct sockaddr *addr = p;\n \tint ret;\n \n+\tif (iavf_is_reset_in_progress(adapter) || adapter->state < __IAVF_DOWN)\n+\t\treturn -EBUSY;\n+\n \tif (!is_valid_ether_addr(addr->sa_data))\n \t\treturn -EADDRNOTAVAIL;\n \n",
    "prefixes": [
        "net",
        "v3",
        "1/5"
    ]
}