get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 127272,
    "url": "http://patches.dpdk.org/api/patches/127272/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20230524033328.2146223-2-yux.jiang@intel.com/",
    "project": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230524033328.2146223-2-yux.jiang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230524033328.2146223-2-yux.jiang@intel.com",
    "date": "2023-05-24T03:33:25",
    "name": "[V1,1/4] tests/coremask: support eal_param -a to avoid running containers conflict",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "4cb67009a341151994368a7854b1e5c87d66c593",
    "submitter": {
        "id": 1709,
        "url": "http://patches.dpdk.org/api/people/1709/?format=api",
        "name": "Yu Jiang",
        "email": "yux.jiang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20230524033328.2146223-2-yux.jiang@intel.com/mbox/",
    "series": [
        {
            "id": 28144,
            "url": "http://patches.dpdk.org/api/series/28144/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=28144",
            "date": "2023-05-24T03:33:24",
            "name": "Support eal_param -a to avoid running containers",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/28144/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/127272/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/127272/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-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 6D62F42B87;\n\tWed, 24 May 2023 05:33:41 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 26BEC4282D;\n\tWed, 24 May 2023 05:33:41 +0200 (CEST)",
            "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id BA1954067E\n for <dts@dpdk.org>; Wed, 24 May 2023 05:33:39 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 May 2023 20:33:34 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.196])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 May 2023 20:33:33 -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=1684899219; x=1716435219;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=BzGU8JdLG4qSsx7lFo3sBtKi0IGVCtCwtrt4axEnxHQ=;\n b=F2Tbu4SkF6IZBmW5GOlI+JwLzkOdefzAHw991OAQey5ekAVWfwGhIrDg\n H7Gh3Og3TjvtdaKq7O6pRaUc3BtXN7kfG4awO4moRs7TfrNkAKF9Z6GuA\n tYRw5w8wrEw1f1ezyrM7SSZ1XQr1culVJjm4MGtIDD1kT5ohKeL84i70Q\n 5HNibrlYu1xvNXy0TANWbh6jtQ3G1Nm9B1CbG+aPu8ewOCJ5fKqBX6dqO\n U1bbcMfbRddK8D70fNGWWfXW8vtbZC+LbeymjqnOx55SO+xDBuSqms6eE\n +56cp2Byo1CUrkY7fC3705XVPx+1tl5MvbAftutFKPKn0+G9cVARb6xrN Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10719\"; a=\"416902734\"",
            "E=Sophos;i=\"6.00,188,1681196400\"; d=\"scan'208\";a=\"416902734\"",
            "E=McAfee;i=\"6600,9927,10719\"; a=\"681688879\"",
            "E=Sophos;i=\"6.00,188,1681196400\"; d=\"scan'208\";a=\"681688879\""
        ],
        "X-ExtLoop1": "1",
        "From": "Yu Jiang <yux.jiang@intel.com>",
        "To": "lijuan.tu@intel.com,\n\tdts@dpdk.org",
        "Cc": "Yu Jiang <yux.jiang@intel.com>",
        "Subject": "[dts][PATCH V1 1/4] tests/coremask: support eal_param -a to avoid\n running containers conflict",
        "Date": "Wed, 24 May 2023 11:33:25 +0800",
        "Message-Id": "<20230524033328.2146223-2-yux.jiang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230524033328.2146223-1-yux.jiang@intel.com>",
        "References": "<20230524033328.2146223-1-yux.jiang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org"
    },
    "content": "Support eal_param -a to avoid running containers conflict\n\nSigned-off-by: Yu Jiang <yux.jiang@intel.com>\n---\n tests/TestSuite_coremask.py | 37 ++++++++++++++++++++++++++++++-------\n 1 file changed, 30 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_coremask.py b/tests/TestSuite_coremask.py\nindex 8e95e998..210cd1f7 100644\n--- a/tests/TestSuite_coremask.py\n+++ b/tests/TestSuite_coremask.py\n@@ -18,7 +18,7 @@ from framework.test_case import TestCase\n # Test class.\n #\n \n-command_line = \"\"\"./%s -c %s -n %d --log-level=\"lib.eal,8\" \"\"\"\n+command_line = \"\"\"./%s %s -c %s -n %d --log-level=\"lib.eal,8\" \"\"\"\n \n \n class TestCoremask(TestCase):\n@@ -43,6 +43,10 @@ class TestCoremask(TestCase):\n             self.all_cores = self.dut.get_core_list(\"all\", socket=0)\n         else:\n             self.all_cores = self.dut.get_core_list(\"all\")\n+        self.dut_ports = self.dut.get_ports(self.nic)\n+        self.eal_param_a = \"\"\n+        for i in self.dut_ports:\n+            self.eal_param_a += \" -a {}\".format(self.dut.ports_info[i][\"pci\"])\n \n     def set_up(self):\n         \"\"\"\n@@ -58,8 +62,12 @@ class TestCoremask(TestCase):\n         for core in self.all_cores:\n \n             core_mask = utils.create_mask([core])\n-\n-            command = command_line % (self.app_test_path, core_mask, self.mem_channel)\n+            command = command_line % (\n+                self.app_test_path,\n+                self.eal_param_a,\n+                core_mask,\n+                self.mem_channel,\n+            )\n \n             out = self.dut.send_expect(command, \"RTE>>\", 10)\n             self.verify(\n@@ -82,7 +90,12 @@ class TestCoremask(TestCase):\n \n         first_core = self.all_cores[0]\n \n-        command = command_line % (self.app_test_path, core_mask, self.mem_channel)\n+        command = command_line % (\n+            self.app_test_path,\n+            self.eal_param_a,\n+            core_mask,\n+            self.mem_channel,\n+        )\n \n         out = self.dut.send_expect(command, \"RTE>>\", 10)\n         self.verify(\n@@ -111,13 +124,18 @@ class TestCoremask(TestCase):\n         \"\"\"\n         Check coremask parsing for more cores than available.\n         \"\"\"\n-        command_line = \"\"\"./%s -c %s -n %d --log-level=\"lib.eal,8\" 2>&1 |tee out\"\"\"\n+        command_line = \"\"\"./%s %s -c %s -n %d --log-level=\"lib.eal,8\" 2>&1 |tee out\"\"\"\n \n         # Create a extremely big coremask\n         big_coremask = \"0x\"\n         for _ in range(0, len(self.all_cores) + 1, 4):\n             big_coremask += \"f\"\n-        command = command_line % (self.app_test_path, big_coremask, self.mem_channel)\n+        command = command_line % (\n+            self.app_test_path,\n+            self.eal_param_a,\n+            big_coremask,\n+            self.mem_channel,\n+        )\n         try:\n             out = self.dut.send_expect(command, \"RTE>>\", 10)\n         except:\n@@ -165,7 +183,12 @@ class TestCoremask(TestCase):\n \n         for coremask in wrong_coremasks:\n \n-            command = command_line % (self.app_test_path, coremask, self.mem_channel)\n+            command = command_line % (\n+                self.app_test_path,\n+                self.eal_param_a,\n+                coremask,\n+                self.mem_channel,\n+            )\n             try:\n                 out = self.dut.send_expect(command, \"# \", 5)\n                 self.verify(\n",
    "prefixes": [
        "V1",
        "1/4"
    ]
}