get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84806,
    "url": "http://patches.dpdk.org/api/patches/84806/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20201208100627.9792-19-junx.w.zhou@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": "<20201208100627.9792-19-junx.w.zhou@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20201208100627.9792-19-junx.w.zhou@intel.com",
    "date": "2020-12-08T10:06:17",
    "name": "[18/28] tests/TestSuite_pmdrss_hash:Modify the hard coded app parameter to call the platform interface",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0222b01bc129ffd96ebc0209d7f166b6de0401d6",
    "submitter": {
        "id": 1646,
        "url": "http://patches.dpdk.org/api/people/1646/?format=api",
        "name": "Zhou, JunX W",
        "email": "junx.w.zhou@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20201208100627.9792-19-junx.w.zhou@intel.com/mbox/",
    "series": [
        {
            "id": 14207,
            "url": "http://patches.dpdk.org/api/series/14207/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=14207",
            "date": "2020-12-08T10:06:03",
            "name": "Modify the hard coded app parameter to call the platform interface",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/14207/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/84806/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/84806/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 25C86A09E5;\n\tTue,  8 Dec 2020 11:04:08 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 78D86C9AA;\n\tTue,  8 Dec 2020 11:04:03 +0100 (CET)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id 63869C930\n for <dts@dpdk.org>; Tue,  8 Dec 2020 11:04:01 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Dec 2020 02:04:00 -0800",
            "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Dec 2020 02:03:59 -0800"
        ],
        "IronPort-SDR": [
            "\n enUXoivXGj0T6NS6FeV8pW5yns/i5B98mBmQrqviYDAxE1bSYwf/hK+KcIgL82rG5vmpBlMkid\n FXAnvux8QjrQ==",
            "\n cmAqGFMlhBeUQn4soRap2CVPxjk2ol1wLeuhVDL0nSRRJpE1cuk/jeBHtiHoyeqsuugrC1FHJi\n it/49pNikBbQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9828\"; a=\"171293423\"",
            "E=Sophos;i=\"5.78,402,1599548400\"; d=\"scan'208\";a=\"171293423\"",
            "E=Sophos;i=\"5.78,402,1599548400\"; d=\"scan'208\";a=\"363575846\""
        ],
        "From": "Zhou Jun <junx.w.zhou@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhou Jun <junx.w.zhou@intel.com>",
        "Date": "Tue,  8 Dec 2020 18:06:17 +0800",
        "Message-Id": "<20201208100627.9792-19-junx.w.zhou@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20201208100627.9792-1-junx.w.zhou@intel.com>",
        "References": "<20201208100627.9792-1-junx.w.zhou@intel.com>",
        "Subject": "[dts] [dts 18/28] tests/TestSuite_pmdrss_hash:Modify the hard coded\n\tapp parameter to call the platform interface",
        "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": "Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>\n---\n tests/TestSuite_pmdrss_hash.py | 19 ++++++++++---------\n 1 file changed, 10 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_pmdrss_hash.py b/tests/TestSuite_pmdrss_hash.py\nindex 7e6d0bf9..fb83f78d 100644\n--- a/tests/TestSuite_pmdrss_hash.py\n+++ b/tests/TestSuite_pmdrss_hash.py\n@@ -449,6 +449,7 @@ class TestPmdrssHash(TestCase):\n         Run before each test case.\n         \"\"\"\n         cores = self.dut.get_core_list(\"all\")\n+        self.eal_para = self.dut.create_eal_parameters(cores=cores)\n         self.coremask = utils.create_mask(cores)\n \n     def test_toeplitz(self):\n@@ -462,8 +463,8 @@ class TestPmdrssHash(TestCase):\n \n         # test with different rss queues\n         self.dut.send_expect(\n-            \"%s  -c %s -n %d -- -i --rxq=%d --txq=%d\" %\n-            (self.path, self.coremask, self.dut.get_memory_channels(), queue, queue), \"testpmd> \", 120)\n+            \"%s %s -- -i --rxq=%d --txq=%d\" %\n+            (self.path, self.eal_para, queue, queue), \"testpmd> \", 120)\n \n         for iptype, rsstype in list(iptypes.items()):\n             self.dut.send_expect(\"set verbose 8\", \"testpmd> \")\n@@ -500,8 +501,8 @@ class TestPmdrssHash(TestCase):\n \n         # test with different rss queues\n         self.dut.send_expect(\n-            \"%s  -c %s -n %d -- -i --rxq=%d --txq=%d\" %\n-            (self.path, self.coremask, self.dut.get_memory_channels(), queue, queue), \"testpmd> \", 120)\n+            \"%s %s -- -i --rxq=%d --txq=%d\" %\n+            (self.path, self.eal_para, queue, queue), \"testpmd> \", 120)\n \n         for iptype, rsstype in list(iptypes.items()):\n             self.dut.send_expect(\"set verbose 8\", \"testpmd> \")\n@@ -545,8 +546,8 @@ class TestPmdrssHash(TestCase):\n \n         # test with different rss queues\n         self.dut.send_expect(\n-            \"%s  -c %s -n %d -- -i --rxq=%d --txq=%d\" %\n-            (self.path, self.coremask, self.dut.get_memory_channels(), queue, queue), \"testpmd> \", 120)\n+            \"%s %s -- -i --rxq=%d --txq=%d\" %\n+            (self.path, self.eal_para, queue, queue), \"testpmd> \", 120)\n \n         for iptype, rsstype in list(iptypes.items()):\n             self.logger.info(\"***********************%s rss test********************************\" % iptype)\n@@ -585,8 +586,8 @@ class TestPmdrssHash(TestCase):\n \n         # test with different rss queues\n         self.dut.send_expect(\n-            \"%s  -c %s -n %d -- -i --rxq=%d --txq=%d\" %\n-            (self.path, self.coremask, self.dut.get_memory_channels(), queue, queue), \"testpmd> \", 120)\n+            \"%s %s -- -i --rxq=%d --txq=%d\" %\n+            (self.path, self.eal_para, queue, queue), \"testpmd> \", 120)\n \n         for iptype, rsstype in list(iptypes.items()):\n             self.dut.send_expect(\"set verbose 8\", \"testpmd> \")\n@@ -621,7 +622,7 @@ class TestPmdrssHash(TestCase):\n                     \"fortpark_TLV\",\"fortpark_BASE-T\", \"fortville_25g\", \"carlsville\", \"foxville\"],\n                     \"NIC Unsupported: \" + str(self.nic))\n \n-        self.dut.send_expect(\"%s -c %s -n %d -- -i\" % (self.path, self.coremask, self.dut.get_memory_channels()), \"testpmd> \", 120)\n+        self.dut.send_expect(\"%s %s -- -i\" % (self.path, self.eal_para), \"testpmd> \", 120)\n         self.dut.send_expect(\"set promisc all off\", \"testpmd> \")\n         out = self.dut.send_expect(\"create bonded device 3 0\", \"testpmd> \", 30)\n         bond_device_id = int(re.search(\"port \\d+\", out).group().split(\" \")[-1].strip())\n",
    "prefixes": [
        "18/28"
    ]
}