get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 131411,
    "url": "http://patchwork.dpdk.org/api/patches/131411/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230914104215.71408-2-bruce.richardson@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230914104215.71408-2-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230914104215.71408-2-bruce.richardson@intel.com",
    "date": "2023-09-14T10:42:15",
    "name": "[1/1] app/test: skip PCI bus scan when testing prefix flags",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "59dc42cdb226f1ab082e4a752ce58eb89e4a88a0",
    "submitter": {
        "id": 20,
        "url": "http://patchwork.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230914104215.71408-2-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 29505,
            "url": "http://patchwork.dpdk.org/api/series/29505/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29505",
            "date": "2023-09-14T10:42:14",
            "name": "make file prefix unit test more resilient",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/29505/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/131411/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/131411/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 87A5E42596;\n\tThu, 14 Sep 2023 12:42:31 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C29CF40633;\n\tThu, 14 Sep 2023 12:42:26 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 50D8E40289\n for <dev@dpdk.org>; Thu, 14 Sep 2023 12:42:24 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Sep 2023 03:42:23 -0700",
            "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by orsmga005.jf.intel.com with ESMTP; 14 Sep 2023 03:42:22 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1694688144; x=1726224144;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=TOHjWAU2Og8z09D+jo5kJIt7UYAw9xEgwhPYzwc7aNI=;\n b=Fk9TE6v25ySWW1At6jz/t+9/9Cw1tXWqpT5Q4jFzCWks8AodGHCOqpsd\n qaVKK470GeF2bkgiPtFnwGUQuRnFOQvbkpguoAiJXH451QVmZLPT4WhqE\n 9YPaL3SIQt0RnCSZPwJeFldMYMTzE+q1o5q28DIx8hCpQ227K0zdQORCM\n wTrWvmIjHL/cVeLivgxtdQGShtQNel9gG84NxjxnAQixGr01ov3b0HQx0\n QMdR7fI7xzjih0J+7l9RyOSkQnQpYVMKc4q8lP/JoU4Ry5HYsAi7oASY4\n GqBzGf998fJIKkWbn72+kjwD8PFwR7DuvOS1rLMXrOad6f3ulNG85ndJL w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10832\"; a=\"378834387\"",
            "E=Sophos;i=\"6.02,145,1688454000\"; d=\"scan'208\";a=\"378834387\"",
            "E=McAfee;i=\"6600,9927,10832\"; a=\"918204060\"",
            "E=Sophos;i=\"6.02,145,1688454000\"; d=\"scan'208\";a=\"918204060\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Bruce Richardson <bruce.richardson@intel.com>",
        "Subject": "[PATCH 1/1] app/test: skip PCI bus scan when testing prefix flags",
        "Date": "Thu, 14 Sep 2023 11:42:15 +0100",
        "Message-Id": "<20230914104215.71408-2-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230914104215.71408-1-bruce.richardson@intel.com>",
        "References": "<20230914104215.71408-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "When testing the file prefix handling, and the memory cleanup for the\nvarious prefixes, we don't need to worry about PCI devices. Therefore\nskip the device scan on startup. In my testing, this makes the test runs\nmore resilient.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n app/test/test_eal_flags.c | 20 ++++++++++----------\n 1 file changed, 10 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c\nindex 6cb4b06757..48d26e8871 100644\n--- a/app/test/test_eal_flags.c\n+++ b/app/test/test_eal_flags.c\n@@ -1203,47 +1203,47 @@ test_file_prefix(void)\n #endif\n \n \t/* this should fail unless the test itself is run with \"memtest\" prefix */\n-\tconst char *argv0[] = {prgname, mp_flag, \"-m\",\n+\tconst char *argv0[] = {prgname, mp_flag, \"--no-pci\", \"-m\",\n \t\t\tDEFAULT_MEM_SIZE, \"--file-prefix=\" memtest };\n \n \t/* primary process with memtest1 and default mem mode */\n-\tconst char *argv1[] = {prgname, \"-m\",\n+\tconst char *argv1[] = {prgname, \"--no-pci\", \"-m\",\n \t\t\tDEFAULT_MEM_SIZE, \"--file-prefix=\" memtest1 };\n \n \t/* primary process with memtest1 and legacy mem mode */\n-\tconst char *argv2[] = {prgname, \"-m\",\n+\tconst char *argv2[] = {prgname, \"--no-pci\", \"-m\",\n \t\t\tDEFAULT_MEM_SIZE, \"--file-prefix=\" memtest1,\n \t\t\t\"--legacy-mem\" };\n \n \t/* primary process with memtest2 and legacy mem mode */\n-\tconst char *argv3[] = {prgname, \"-m\",\n+\tconst char *argv3[] = {prgname, \"--no-pci\", \"-m\",\n \t\t\tDEFAULT_MEM_SIZE, \"--file-prefix=\" memtest2,\n \t\t\t\"--legacy-mem\" };\n \n \t/* primary process with memtest2 and default mem mode */\n-\tconst char *argv4[] = {prgname, \"-m\",\n+\tconst char *argv4[] = {prgname, \"--no-pci\", \"-m\",\n \t\t\tDEFAULT_MEM_SIZE, \"--file-prefix=\" memtest2 };\n \n \t/* primary process with --in-memory mode */\n-\tconst char * const argv5[] = {prgname, \"-m\",\n+\tconst char * const argv5[] = {prgname, \"--no-pci\", \"-m\",\n \t\tDEFAULT_MEM_SIZE, \"--in-memory\" };\n \n \t/* primary process with memtest1 and --in-memory mode */\n-\tconst char * const argv6[] = {prgname, \"-m\",\n+\tconst char * const argv6[] = {prgname, \"--no-pci\", \"-m\",\n \t\tDEFAULT_MEM_SIZE, \"--in-memory\",\n \t\t\"--file-prefix=\" memtest1 };\n \n \t/* primary process with parent file-prefix and --in-memory mode */\n-\tconst char * const argv7[] = {prgname, \"-m\",\n+\tconst char * const argv7[] = {prgname, \"--no-pci\", \"-m\",\n \t\tDEFAULT_MEM_SIZE, \"--in-memory\", \"--file-prefix\", prefix };\n \n \t/* primary process with memtest1 and --single-file-segments mode */\n-\tconst char * const argv8[] = {prgname, \"-m\",\n+\tconst char * const argv8[] = {prgname, \"--no-pci\", \"-m\",\n \t\tDEFAULT_MEM_SIZE, \"--single-file-segments\",\n \t\t\"--file-prefix=\" memtest1 };\n \n \t/* primary process with memtest1 and --huge-unlink=never mode */\n-\tconst char * const argv9[] = {prgname, \"-m\",\n+\tconst char * const argv9[] = {prgname, \"--no-pci\", \"-m\",\n \t\tDEFAULT_MEM_SIZE, \"--huge-unlink=never\",\n \t\t\"--file-prefix=\" memtest1 };\n \n",
    "prefixes": [
        "1/1"
    ]
}