get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75134,
    "url": "http://patches.dpdk.org/api/patches/75134/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200803175052.3368-1-weix.ling@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": "<20200803175052.3368-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200803175052.3368-1-weix.ling@intel.com",
    "date": "2020-08-03T17:50:52",
    "name": "[V1] tests/TestSuite_mutiprocess.py add -w option when tester and dut in same server",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "83442dd45409bed7d9f6ec89e88f3f377799c82c",
    "submitter": {
        "id": 1828,
        "url": "http://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20200803175052.3368-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 11459,
            "url": "http://patches.dpdk.org/api/series/11459/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=11459",
            "date": "2020-08-03T17:50:52",
            "name": "[V1] tests/TestSuite_mutiprocess.py add -w option when tester and dut in same server",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11459/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75134/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/75134/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D093DA052A;\n\tMon,  3 Aug 2020 12:09:03 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 88C072952;\n\tMon,  3 Aug 2020 12:09:03 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by dpdk.org (Postfix) with ESMTP id 27842255\n for <dts@dpdk.org>; Mon,  3 Aug 2020 12:09:01 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Aug 2020 03:09:00 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by fmsmga001.fm.intel.com with ESMTP; 03 Aug 2020 03:08:59 -0700"
        ],
        "IronPort-SDR": [
            "\n +Fn1U8EAV2SJ6FmRmO2x1svbNohjcFRvynzXsUC5iNEW34H4HgFBiJrmjhMS1FrqqpDiD5sBci\n X+pZxJeI8IkA==",
            "\n II3TIECFzrcdK1UgWutGyoJQji2p9a8a3SDWN2wEySUJyEzjfsDUkxueqIxwHijHERdIi3kvtv\n b7t6a9NqFN+A=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9701\"; a=\"131639758\"",
            "E=Sophos;i=\"5.75,429,1589266800\"; d=\"scan'208\";a=\"131639758\"",
            "E=Sophos;i=\"5.75,429,1589266800\"; d=\"scan'208\";a=\"396006223\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "lingwei <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "lingwei <weix.ling@intel.com>",
        "Date": "Mon,  3 Aug 2020 17:50:52 +0000",
        "Message-Id": "<20200803175052.3368-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dts] [PATCH V1] tests/TestSuite_mutiprocess.py add -w option when\n\ttester and dut in same server",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "add -w option when tester and dut in same server and specified mp_server\nand mp_client run with different cores\n\nSigned-off-by: lingwei <weix.ling@intel.com>\n---\n tests/TestSuite_multiprocess.py | 11 +++++++----\n 1 file changed, 7 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_multiprocess.py b/tests/TestSuite_multiprocess.py\nindex 5a99ee3..218e008 100644\n--- a/tests/TestSuite_multiprocess.py\n+++ b/tests/TestSuite_multiprocess.py\n@@ -312,16 +312,19 @@ class TestMultiprocess(TestCase):\n         for execution in validExecutions:\n             coreList = self.dut.get_core_list(execution['cores'], socket=self.socket)\n \n-            coreMask = utils.create_mask(self.dut.get_core_list('1S/1C/1T'))\n+            # get core with socket parameter to specified which core dut used when tester and dut in same server\n+            coreMask = utils.create_mask(self.dut.get_core_list('1S/1C/1T', socket=self.socket))\n             portMask = utils.create_mask(self.dut_ports)\n-            self.dut.send_expect(self.app_mp_server + \" -n %d -c %s -- -p %s -n %d\" % (\n-                self.dut.get_memory_channels(), \"0xA0\", portMask, execution['nprocs']), \"Finished Process Init\", 20)\n+            # specified mp_server core and add -w option when tester and dut in same server\n+            self.dut.send_expect(self.app_mp_server + \" -n %d -c %s %s -- -p %s -n %d\" % (\n+                self.dut.get_memory_channels(), coreMask, self.eal_param, portMask, execution['nprocs']), \"Finished Process Init\", 20)\n             self.dut.send_expect(\"^Z\", \"\\r\\n\")\n             self.dut.send_expect(\"bg\", \"# \")\n \n             for n in range(execution['nprocs']):\n                 time.sleep(5)\n-                coreMask = utils.create_mask([coreList[n]])\n+                # use next core as mp_client core, different from mp_server\n+                coreMask = utils.create_mask([str(int(coreList[n]) + 1)])\n                 self.dut.send_expect(self.app_mp_client + \" -n %d -c %s --proc-type=secondary -- -n %d\" % (\n                     self.dut.get_memory_channels(), coreMask, n), \"Finished Process Init\")\n                 self.dut.send_expect(\"^Z\", \"\\r\\n\")\n",
    "prefixes": [
        "V1"
    ]
}