get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2073328,
    "url": "http://patchwork.ozlabs.org/api/patches/2073328/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250415211819.1254435-7-jerome.forissier@linaro.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20250415211819.1254435-7-jerome.forissier@linaro.org>",
    "list_archive_url": null,
    "date": "2025-04-15T21:17:41",
    "name": "[v2,06/11] sandbox: provide static IP addresses for eth{2, 3, 5, 6, 7}",
    "commit_ref": "1772c85f7afe82d91306a45408fa7529b769e6cc",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8b44b13e868bfb6d1ae16f2e79f4cf40bbaf421e",
    "submitter": {
        "id": 69192,
        "url": "http://patchwork.ozlabs.org/api/people/69192/?format=api",
        "name": "Jerome Forissier",
        "email": "jerome.forissier@linaro.org"
    },
    "delegate": {
        "id": 157425,
        "url": "http://patchwork.ozlabs.org/api/users/157425/?format=api",
        "username": "jforissier",
        "first_name": "Jerome",
        "last_name": "Forissier",
        "email": "jerome.forissier@linaro.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20250415211819.1254435-7-jerome.forissier@linaro.org/mbox/",
    "series": [
        {
            "id": 452941,
            "url": "http://patchwork.ozlabs.org/api/series/452941/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=452941",
            "date": "2025-04-15T21:17:35",
            "name": "lwIP sandbox tests",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/452941/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2073328/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2073328/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=yoDtx2xh;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=fail (p=none dis=none) header.from=linaro.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.b=\"yoDtx2xh\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=linaro.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=jerome.forissier@linaro.org"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4ZccVB3xS7z1yJ9\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 16 Apr 2025 07:19:14 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id B796B82C0C;\n\tTue, 15 Apr 2025 23:18:39 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id A7CFB82B97; Tue, 15 Apr 2025 23:18:36 +0200 (CEST)",
            "from mail-wr1-x433.google.com (mail-wr1-x433.google.com\n [IPv6:2a00:1450:4864:20::433])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id A7EB38209C\n for <u-boot@lists.denx.de>; Tue, 15 Apr 2025 23:18:34 +0200 (CEST)",
            "by mail-wr1-x433.google.com with SMTP id\n ffacd0b85a97d-39c0dfba946so4465656f8f.3\n for <u-boot@lists.denx.de>; Tue, 15 Apr 2025 14:18:34 -0700 (PDT)",
            "from builder.. ([2a01:e0a:3cb:7bb0:6ebc:6ce:770e:95f9])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-39eaf43cce3sm15530917f8f.74.2025.04.15.14.18.33\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 15 Apr 2025 14:18:33 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1744751914; x=1745356714; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=3ohqNOY5VP7rOggwHli2uwz++MOq8E8XGIM1+khD4xA=;\n b=yoDtx2xhnOgArlJIIZrqIr/oB9oBGQSDP555I/A591mQSmSo0A2VfCFrjvK4Jzj3La\n LruQWA233nltLl0lOUgV5yJ/LRRW7Z9rdl+BzFAnigDa5ivxRU1Vwfun7Ub6oiRq647k\n yM/Rt1y0YqdfW8SB4BM67d9KreRf7tn1wXgMyBolTFHPH/1vjhUdykKq9Kj+EnA5u+E9\n Jt98LMyA9ScZleZQE9BHl/0BjZ5YJakd6y3fbAUfofp+xZ2pNwBkJRXXvs0NC70pTEDu\n AOA06UBdvzn8/zwMNLWw7EN6PuMcjrP2TPDQIQPkECnRrBOtBAKk8HAZ7qJccJSyVJkD\n FjtA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1744751914; x=1745356714;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=3ohqNOY5VP7rOggwHli2uwz++MOq8E8XGIM1+khD4xA=;\n b=mh4Z1yuk4ds5rPftFhlDgpiqwsli3mtgwA7rjPptt+O44ePN7jhxPC1SHa20vP6cHt\n 9kWxsITUqLHFJYsu2tlr6WQahX/Uh5XruV9SamjPuXcO5bY+Zi6UdNEDoJh5aVb5iyho\n F/EtPdcLp9nq1M/xGftfJiJDqKDPfj/61vG/hWrFvlbn/Hp23c2LqYijXOmXUb3iQeK3\n YxGFLg/r7REo34NdAa2Fe5IBjGrtxVuvCqgP9hqSi80ycqqsS3t0xHAQkNCTYQo/TGxH\n Zw30BVAwFUKH2593JJ0dikdFiMbtkLypifGnaAY9XWTbVvgdJMiLsbIaw9ZtXOCiH1bB\n s+uQ==",
        "X-Gm-Message-State": "AOJu0YwPgl5yC/5LnNda7Wr0sYMAcoS38tPxzyuV6hpAjgtkeFeUp1SX\n Qqt+9AhM/nv2+xgky2Omk46Czx2OHA8DQflQTWRJ/oRAjW4jyaJC1xcHHGub5y3be6kLKq780Uj\n E7+0=",
        "X-Gm-Gg": "ASbGncvrerJRM6jlGHcy3lMIPfC+IpTNFen5mdPcenBDIqWs+yYFOOGjFTA8jWEbjlJ\n nRgFdow2a200bVXiLWr+L2yDQ+YxTQZbqfHydJSvmkWV/j1M1rOGMTOhTOtUmMIPJzW5EKzrnQo\n 8cvQBmSUAzPPQYCecxo5kbjbTxNs/HSPGn9R8C6Zf130B5Uu0EHD6EN6YWGiSmYZx4mcQguQHDx\n lq0iGAvPMbwd8gRwElFL5NIbBfvrbpcobiKchyWppFldSG45Wn2nrdcD+JyE7sq6d8GQah/sV6J\n XgmsAIsp3jo1a3i5OtcTVhoeOB34Noga85LfrH0W7tTexu5s",
        "X-Google-Smtp-Source": "\n AGHT+IG9bBz7v+4MqiKrtGlE7Ea2rg64jtHIYjhXWuVKeVVvwMgNE1Ugkoq4SA7Yl26c1KmJJM+xpg==",
        "X-Received": "by 2002:a05:6000:4007:b0:391:2e6a:30fe with SMTP id\n ffacd0b85a97d-39ee276068emr764099f8f.39.1744751913997;\n Tue, 15 Apr 2025 14:18:33 -0700 (PDT)",
        "From": "Jerome Forissier <jerome.forissier@linaro.org>",
        "To": "U-Boot mailing list <u-boot@lists.denx.de>",
        "Cc": "Jerome Forissier <jerome.forissier@linaro.org>,\n Simon Glass <sjg@chromium.org>, Mario Six <mario.six@gdsys.cc>,\n Tom Rini <trini@konsulko.com>",
        "Subject": "[PATCH v2 06/11] sandbox: provide static IP addresses for eth{2, 3,\n 5,\n 6, 7}",
        "Date": "Tue, 15 Apr 2025 23:17:41 +0200",
        "Message-ID": "<20250415211819.1254435-7-jerome.forissier@linaro.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20250415211819.1254435-1-jerome.forissier@linaro.org>",
        "References": "<20250415211819.1254435-1-jerome.forissier@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "The tests in test/dm/eth.c and test/dm/dsa.c use interfaces that have\nno static IP addresses configured in the board's default environment\nfile. That will be a problem when NET_LWIP=y because the lwIP stack\nrefuses to send ICMP packets through an interface that doesn't have an\nIP (\"no route to host\"). Therefore and in preparation for enabling the\nsandbox tests with NET_LWIP, provide such addresses in\nboard/sandbox/sandbox.env.\n\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\nReviewed-by: Simon Glass <sjg@chromium.org>\n---\n\n(no changes since v1)\n\n board/sandbox/sandbox.env | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/board/sandbox/sandbox.env b/board/sandbox/sandbox.env\nindex a2c19702d64..29197f56e95 100644\n--- a/board/sandbox/sandbox.env\n+++ b/board/sandbox/sandbox.env\n@@ -8,6 +8,11 @@ stderr=serial,vidconsole\n ethaddr=02:00:11:22:33:44\n eth6addr=02:00:11:22:33:47\n ipaddr=192.0.2.1\n+ipaddr2=192.0.2.3\n+ipaddr3=192.0.2.4\n+ipaddr5=192.0.2.6\n+ipaddr6=192.0.2.7\n+ipaddr7=192.0.2.8\n \n /*\n  * These are used for distro boot which is not supported. But once bootmethod\n",
    "prefixes": [
        "v2",
        "06/11"
    ]
}