get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84816,
    "url": "http://patches.dpdk.org/api/patches/84816/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20201208100627.9792-29-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-29-junx.w.zhou@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20201208100627.9792-29-junx.w.zhou@intel.com",
    "date": "2020-12-08T10:06:27",
    "name": "[28/28] tests/TestSuite_userspace_ethtool:Modify the hard coded app parameter to call the platform interface",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "1fb30c74cb91483810d102bea94c9bc250ab414e",
    "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-29-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/84816/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/84816/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 53542A09E5;\n\tTue,  8 Dec 2020 11:04:20 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 604A6C9B0;\n\tTue,  8 Dec 2020 11:04:17 +0100 (CET)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id 99589C96E\n for <dts@dpdk.org>; Tue,  8 Dec 2020 11:04:15 +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:14 -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:04:13 -0800"
        ],
        "IronPort-SDR": [
            "\n KCIwwryz2WHPCwR6FuTBR2HK89nzSQGOA428KtOawo4ZqVLSlLB3neeNwUUuqpopDtXM3z5AC4\n AdBrZ5k4ZUyw==",
            "\n T9oLfkncaGQihAgNcKU76DdmVPtFpkz+zcdsAAj05psikQ/mFIs01LzzsCyPeBXV6UGUcqMk+X\n MpymW+BNWrow=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9828\"; a=\"171293466\"",
            "E=Sophos;i=\"5.78,402,1599548400\"; d=\"scan'208\";a=\"171293466\"",
            "E=Sophos;i=\"5.78,402,1599548400\"; d=\"scan'208\";a=\"363576030\""
        ],
        "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:27 +0800",
        "Message-Id": "<20201208100627.9792-29-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 28/28] tests/TestSuite_userspace_ethtool:Modify the hard\n\tcoded app 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_userspace_ethtool.py | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py\nindex 68dace33..d73a7e16 100644\n--- a/tests/TestSuite_userspace_ethtool.py\n+++ b/tests/TestSuite_userspace_ethtool.py\n@@ -68,8 +68,9 @@ class TestUserspaceEthtool(TestCase, IxiaPacketGenerator):\n         cpu_cores = self.dut.send_expect('lscpu |grep \"NUMA node%s CPU(s):\"' % out, \"# \")\n         core = re.findall(r\"\\d+-(\\d+)\", cpu_cores)[0]\n         core = int(core)\n-        cores = \"%d,%d,%d,%d\" % (core - 1, core - 2, core - 3, core - 4)\n-        self.cmd = \"%s -l %s -n %d\" % (self.app_ethtool_path, cores, self.dut.get_memory_channels())\n+        cores = [core - 1, core - 2, core - 3, core - 4]\n+        eal_para = self.dut.create_eal_parameters(cores=cores)\n+        self.cmd = \"%s %s\" % (self.app_ethtool_path, eal_para)\n \n         # pause frame basic configuration\n         self.pause_time = 65535\n",
    "prefixes": [
        "28/28"
    ]
}