get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 78884,
    "url": "http://patches.dpdk.org/api/patches/78884/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/1601174391-7559-1-git-send-email-xix.zhang@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": "<1601174391-7559-1-git-send-email-xix.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/1601174391-7559-1-git-send-email-xix.zhang@intel.com",
    "date": "2020-09-27T02:39:51",
    "name": "[V1] tests/TestSuite_cbdma:fixed-session-error",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "af34d83dcd16fe8779a9a52f32ddd51974b67916",
    "submitter": {
        "id": 1728,
        "url": "http://patches.dpdk.org/api/people/1728/?format=api",
        "name": "Zhang, XiX",
        "email": "xix.zhang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/1601174391-7559-1-git-send-email-xix.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 12522,
            "url": "http://patches.dpdk.org/api/series/12522/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=12522",
            "date": "2020-09-27T02:39:51",
            "name": "[V1] tests/TestSuite_cbdma:fixed-session-error",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/12522/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/78884/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/78884/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 30CAEA04B0;\n\tSun, 27 Sep 2020 04:38:32 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E86771D51D;\n\tSun, 27 Sep 2020 04:38:30 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id B5D5B1D51B\n for <dts@dpdk.org>; Sun, 27 Sep 2020 04:38:29 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Sep 2020 19:38:26 -0700",
            "from unknown (HELO localhost.localdomain.sh.intel.com)\n ([10.240.182.150])\n by orsmga002.jf.intel.com with ESMTP; 26 Sep 2020 19:38:25 -0700"
        ],
        "IronPort-SDR": [
            "\n QyZKzJhZzrwcy8iQ7naGyBSsftnW3v0KWiWO5E6/MKMJbyuj2K2rGT4Jrq0RI0ceOrT/lzHbRZ\n JKnqp7I9ZEjQ==",
            "\n Def/YeUA4uHkjW45CbZGlzJYAhfY82toed32AjLp1tKlRjy1QVFBVpr2oPMAwtAhJ75CokahLr\n gheV5hpcLakw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9756\"; a=\"162724073\"",
            "E=Sophos;i=\"5.77,308,1596524400\"; d=\"scan'208\";a=\"162724073\"",
            "E=Sophos;i=\"5.77,308,1596524400\"; d=\"scan'208\";a=\"323875217\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "xizhan4x <xix.zhang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "xizhan4x <xix.zhang@intel.com>",
        "Date": "Sun, 27 Sep 2020 10:39:51 +0800",
        "Message-Id": "<1601174391-7559-1-git-send-email-xix.zhang@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dts] [PATCH V1] tests/TestSuite_cbdma:fixed-session-error",
        "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": "fixed:session error\n\nSigned-off-by: xizhan4x <xix.zhang@intel.com>\n---\n tests/TestSuite_cbdma.py | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_cbdma.py b/tests/TestSuite_cbdma.py\nindex 14611f0..9c5fc3a 100644\n--- a/tests/TestSuite_cbdma.py\n+++ b/tests/TestSuite_cbdma.py\n@@ -71,6 +71,7 @@ class TestCBDMA(TestCase):\n         self.table_header.append(\"Updating MAC\")\n         self.table_header.append(\"% linerate\")\n         self.result_table_create(self.table_header)\n+        self.send_session = self.dut.new_session(\"new_session\")\n \n     def get_core_list(self):\n         \"\"\"\n@@ -140,7 +141,6 @@ class TestCBDMA(TestCase):\n         num is 2\n         '''\n         # flush other output\n-        self.send_session=self.dut.new_session(\"new_session\")\n         target = self.app_path.split(\"/\")\n         self.send_session.send_expect(f\"cd  {'/'.join(target[0:-1])} \", '# ')\n         self.send_session.get_session_before(timeout=1)\n@@ -310,7 +310,7 @@ class TestCBDMA(TestCase):\n                                         ports=dev_info, prefix='cbdma')\n             self.launch_ioatfwd_app(eal_params)\n             self.send_and_verify_throughput(check_channel=True)\n-            self.dut.send_expect('^c', '# ')\n+            self.send_session.send_expect('^c', '# ')\n         self.result_table_print()\n \n     def test_perf_cbdma_with_diff_update_mac(self):\n@@ -330,7 +330,7 @@ class TestCBDMA(TestCase):\n         self.launch_ioatfwd_app(eal_params)\n         self.send_and_verify_throughput(check_channel=False)\n \n-        self.dut.send_expect('^c', '# ')\n+        self.send_session.send_expect('^c', '# ')\n         self.cbdma_updating_mac = 'disable'\n         self.launch_ioatfwd_app(eal_params)\n         self.send_and_verify_throughput(check_channel=False)\n@@ -353,7 +353,7 @@ class TestCBDMA(TestCase):\n         self.launch_ioatfwd_app(eal_params)\n         self.send_and_verify_throughput(check_channel=False)\n \n-        self.dut.send_expect('^c', '# ')\n+        self.send_session.send_expect('^c', '# ')\n         self.cbdma_copy_mode = 'sw'\n         self.launch_ioatfwd_app(eal_params)\n         self.send_and_verify_throughput(check_channel=False)\n@@ -363,7 +363,7 @@ class TestCBDMA(TestCase):\n         \"\"\"\n         Run after each test case.\n         \"\"\"\n-        self.dut.send_expect('^c', '# ')\n+        self.send_session.send_expect('^c', '# ')\n         self.dut.kill_all()\n \n     def tear_down_all(self):\n",
    "prefixes": [
        "V1"
    ]
}