get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 89532,
    "url": "https://patches.dpdk.org/api/patches/89532/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20210319064633.4592-1-weix.ling@intel.com/",
    "project": {
        "id": 3,
        "url": "https://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": "<20210319064633.4592-1-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210319064633.4592-1-weix.ling@intel.com",
    "date": "2021-03-19T06:46:33",
    "name": "[V1,4/9] tests/vhost_user_interrupt:modify hard code bind cbdma device to igb_uio by drivername in execution.cfg",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c1b852360c489672b93bce8f4d3ef2d1fc349ca0",
    "submitter": {
        "id": 1828,
        "url": "https://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20210319064633.4592-1-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 15786,
            "url": "https://patches.dpdk.org/api/series/15786/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=15786",
            "date": "2021-03-19T06:45:58",
            "name": "modify hard code bind cbdma device to igb_uio by drivername in execution.cfg",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/15786/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/89532/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/89532/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 DC4DEA0562;\n\tFri, 19 Mar 2021 07:47:38 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D39D4140E9D;\n\tFri, 19 Mar 2021 07:47:38 +0100 (CET)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 231774003F\n for <dts@dpdk.org>; Fri, 19 Mar 2021 07:47:36 +0100 (CET)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Mar 2021 23:47:35 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Mar 2021 23:47:34 -0700"
        ],
        "IronPort-SDR": [
            "\n VA1f+2tgKjFg/6U1dJkIa11XjsIGAdDfiJQyaRERMdKPvylI58hw4pLoluSRDlGD3xKwy149rh\n r9rPjCPMryEA==",
            "\n DkrrbvYDfckCOZQ8NLPe9gqvnAJukrF2dgtiV49Pjx6JmtZ6EDo4ggWSVSZ6JC1H51iPHl4mkZ\n uvUL8FIHVkxA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9927\"; a=\"176971900\"",
            "E=Sophos;i=\"5.81,261,1610438400\"; d=\"scan'208\";a=\"176971900\"",
            "E=Sophos;i=\"5.81,261,1610438400\"; d=\"scan'208\";a=\"606504704\""
        ],
        "From": "Ling Wei <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Ling Wei <weix.ling@intel.com>",
        "Date": "Fri, 19 Mar 2021 14:46:33 +0800",
        "Message-Id": "<20210319064633.4592-1-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1 4/9] tests/vhost_user_interrupt:modify hard code\n bind cbdma device to igb_uio by drivername in execution.cfg",
        "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",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "1.Modify hard code bind cbdma device to igb_uio by drivername\n in execution.cfg.\n2.Move bind cbdma to kernel from tear_down_all to tear_down.\n\nSigned-off-by: Ling Wei <weix.ling@intel.com>\n---\n tests/TestSuite_vhost_user_interrupt.py | 10 +++++-----\n 1 file changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vhost_user_interrupt.py b/tests/TestSuite_vhost_user_interrupt.py\nindex 2a101991..53f407fa 100644\n--- a/tests/TestSuite_vhost_user_interrupt.py\n+++ b/tests/TestSuite_vhost_user_interrupt.py\n@@ -114,6 +114,9 @@ class TestVhostUserInterrupt(TestCase):\n         \"\"\"\n         get all cbdma ports\n         \"\"\"\n+        # check driver name in execution.cfg\n+        self.verify(self.drivername == 'igb_uio',\n+                    \"CBDMA test case only use igb_uio driver, need config drivername=igb_uio in execution.cfg\")\n         str_info = 'Misc (rawdev) devices using kernel driver'\n         out = self.dut.send_expect('./usertools/dpdk-devbind.py --status-dev misc', '# ', 30)\n         device_info = out.split('\\n')\n@@ -139,9 +142,7 @@ class TestVhostUserInterrupt(TestCase):\n             dmas_info += dmas\n         self.dmas_info = dmas_info[:-1]\n         self.device_str = ' '.join(used_cbdma)\n-        self.dut.setup_modules(self.target, \"igb_uio\",\"None\")\n-        self.dut.send_expect('./usertools/dpdk-devbind.py --force --bind=%s %s %s' %\n-                             (\"igb_uio\", self.device_str, self.pci_info), '# ', 60)\n+        self.dut.send_expect('./usertools/dpdk-devbind.py --force --bind=%s %s' % (self.drivername, self.device_str), '# ', 60)\n \n     def bind_cbdma_device_to_kernel(self):\n         if self.device_str is not None:\n@@ -285,13 +286,12 @@ class TestVhostUserInterrupt(TestCase):\n         self.dut.send_expect(\"killall %s\" % self.l3fwdpower_name, \"#\")\n         self.dut.send_expect(\"killall -s INT %s\" % self.testpmd_name, \"#\")\n         self.dut.kill_all()\n+        self.bind_cbdma_device_to_kernel()\n \n     def tear_down_all(self):\n         \"\"\"\n         Run after each test suite.\n         \"\"\"\n         # revert the code\n-        self.bind_cbdma_device_to_kernel()\n         self.dut.send_expect(\"mv ./main.c ./examples/l3fwd-power/\", \"#\")\n         self.dut.build_dpdk_apps('examples/l3fwd-power')\n-        pass\n",
    "prefixes": [
        "V1",
        "4/9"
    ]
}