get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 130366,
    "url": "https://patches.dpdk.org/api/patches/130366/?format=api",
    "web_url": "https://patches.dpdk.org/project/ci/patch/20230815151053.996469-2-bruce.richardson@intel.com/",
    "project": {
        "id": 5,
        "url": "https://patches.dpdk.org/api/projects/5/?format=api",
        "name": "CI",
        "link_name": "ci",
        "list_id": "ci.dpdk.org",
        "list_email": "ci@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dpdk-ci",
        "webscm_url": "https://git.dpdk.org/tools/dpdk-ci/",
        "list_archive_url": "https://inbox.dpdk.org/ci",
        "list_archive_url_format": "https://inbox.dpdk.org/ci/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230815151053.996469-2-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/ci/20230815151053.996469-2-bruce.richardson@intel.com",
    "date": "2023-08-15T15:10:45",
    "name": "[v5,01/10] app/test: add new macros for various test types",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "70699de9e12cdc16391b52d7937af156a825ff2c",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/ci/patch/20230815151053.996469-2-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 29237,
            "url": "https://patches.dpdk.org/api/series/29237/?format=api",
            "web_url": "https://patches.dpdk.org/project/ci/list/?series=29237",
            "date": "2023-08-15T15:12:37",
            "name": "expand list of optional libraries",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/29237/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/130366/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/130366/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ci-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 9D28943074;\n\tTue, 15 Aug 2023 17:22:51 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9254D43263;\n\tTue, 15 Aug 2023 17:22:51 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 06A914114B;\n Tue, 15 Aug 2023 17:22:48 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Aug 2023 08:10:59 -0700",
            "from silpixa00401385.ir.intel.com ([10.237.214.14])\n by fmsmga004.fm.intel.com with ESMTP; 15 Aug 2023 08:10:58 -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=1692112969; x=1723648969;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=GUo9vMeBsvyknhyGbkUIq/oRylxfk/palneosahIEMw=;\n b=AG9nVSGsXGWgi56Aup4AyZIWzv/L224xnZn6MQv/KKwdSyWS3+R7+Q0S\n /IK2KR02LqeLCpBqWJUaJ99PwfI5czL+SYrPBoDORoC261YtbjszXe01t\n X2zOwW1jHyiTKIbuKT2OuzpdsoQJOHvzfKvWi3KUp9E15VP6L+siOINC4\n mrtsUczOjzepXbQCAwxIhTGmUw36pq/+Tivf3b4e+WVor4HDLxP3dtRsk\n rQoxvguBimILDFdfPF/U8Ob9AkeWfJ6+f+oaveWknfXDudvwuLajCNo4u\n wAZsH16IjcgT/ynAASILGxAXsghGlKVz5TFveOZ71+a2yHfAk5z1qzr0s A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10803\"; a=\"357271505\"",
            "E=Sophos;i=\"6.01,174,1684825200\"; d=\"scan'208\";a=\"357271505\"",
            "E=McAfee;i=\"6600,9927,10803\"; a=\"803843779\"",
            "E=Sophos;i=\"6.01,174,1684825200\"; d=\"scan'208\";a=\"803843779\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "ci@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>, =?utf-8?q?Mo?=\n\t=?utf-8?q?rten_Br=C3=B8rup?= <mb@smartsharesystems.com>",
        "Subject": "[PATCH v5 01/10] app/test: add new macros for various test types",
        "Date": "Tue, 15 Aug 2023 16:10:45 +0100",
        "Message-Id": "<20230815151053.996469-2-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20230815151053.996469-1-bruce.richardson@intel.com>",
        "References": "<20230721115125.55137-1-bruce.richardson@intel.com>\n <20230815151053.996469-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "ci@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK CI discussions <ci.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/ci>,\n <mailto:ci-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/ci/>",
        "List-Post": "<mailto:ci@dpdk.org>",
        "List-Help": "<mailto:ci-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/ci>,\n <mailto:ci-request@dpdk.org?subject=subscribe>",
        "Errors-To": "ci-bounces@dpdk.org"
    },
    "content": "Rather than just registering all tests using a single generic macro,\nadd macros which identify the test as being of a particular type.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Morten Brørup <mb@smartsharesystems.com>\n---\n app/test/test.h | 9 ++++++++-\n 1 file changed, 8 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test/test.h b/app/test/test.h\nindex 85f57efbc6..a91ded76af 100644\n--- a/app/test/test.h\n+++ b/app/test/test.h\n@@ -190,7 +190,7 @@ struct test_command {\n \n void add_test_command(struct test_command *t);\n \n-/* Register a test function with its command string */\n+/* Register a test function with its command string. Should not be used directly */\n #define REGISTER_TEST_COMMAND(cmd, func) \\\n \tstatic struct test_command test_struct_##cmd = { \\\n \t\t.command = RTE_STR(cmd), \\\n@@ -201,4 +201,11 @@ void add_test_command(struct test_command *t);\n \t\tadd_test_command(&test_struct_##cmd); \\\n \t}\n \n+/* Register a test function as a particular type.\n+ * These can be used to build up test suites automatically\n+ */\n+#define REGISTER_FAST_TEST(cmd, no_huge, ASan, func)  REGISTER_TEST_COMMAND(cmd, func)\n+#define REGISTER_PERF_TEST REGISTER_TEST_COMMAND\n+#define REGISTER_DRIVER_TEST REGISTER_TEST_COMMAND\n+\n #endif\n",
    "prefixes": [
        "v5",
        "01/10"
    ]
}