get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76310,
    "url": "http://patches.dpdk.org/api/patches/76310/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200902091510.6043-4-weix.xie@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": "<20200902091510.6043-4-weix.xie@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200902091510.6043-4-weix.xie@intel.com",
    "date": "2020-09-02T09:15:05",
    "name": "[3/8] tests/TestSuite_runtime_vf_queue_number:support meson build method",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "bc8a209b897f35f2fbe8c3f3b8c4813c3f6b3ac7",
    "submitter": {
        "id": 1686,
        "url": "http://patches.dpdk.org/api/people/1686/?format=api",
        "name": "Xie, WeiX",
        "email": "weix.xie@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20200902091510.6043-4-weix.xie@intel.com/mbox/",
    "series": [
        {
            "id": 11899,
            "url": "http://patches.dpdk.org/api/series/11899/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=11899",
            "date": "2020-09-02T09:15:04",
            "name": "support meson build method",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11899/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76310/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/76310/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 67E0AA04B9;\n\tWed,  2 Sep 2020 11:14:19 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7257A1C0AC;\n\tWed,  2 Sep 2020 11:14:18 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id 3298C1C07B\n for <dts@dpdk.org>; Wed,  2 Sep 2020 11:14:17 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Sep 2020 02:14:16 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.80])\n by fmsmga001.fm.intel.com with ESMTP; 02 Sep 2020 02:14:15 -0700"
        ],
        "IronPort-SDR": [
            "\n Q+aZcoRO/Kxi4jBunrhgznBV5CSc0kQjaYw6C7DF2xGP5uNe1qfnyC9arZFuoejMt3vQFYGtZa\n IONJ0YV0c7JA==",
            "\n 93Lq819Mj8k3l0iUm9TtjQ0wCGtyETKA426HiTvx26j5tyAkc/GXf0D0PSRSvHR8cC1Rtf2Ktf\n syGrwFDQ5Mhw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9731\"; a=\"158348268\"",
            "E=Sophos;i=\"5.76,381,1592895600\"; d=\"scan'208\";a=\"158348268\"",
            "E=Sophos;i=\"5.76,381,1592895600\"; d=\"scan'208\";a=\"405099289\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Xie wei <weix.xie@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Xie wei <weix.xie@intel.com>",
        "Date": "Wed,  2 Sep 2020 17:15:05 +0800",
        "Message-Id": "<20200902091510.6043-4-weix.xie@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200902091510.6043-1-weix.xie@intel.com>",
        "References": "<20200902091510.6043-1-weix.xie@intel.com>",
        "Subject": "[dts] [dts 3/8] tests/TestSuite_runtime_vf_queue_number:support\n\tmeson build method",
        "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: Xie wei <weix.xie@intel.com>\n---\n tests/TestSuite_runtime_vf_queue_number.py | 7 +++----\n 1 file changed, 3 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_runtime_vf_queue_number.py b/tests/TestSuite_runtime_vf_queue_number.py\nindex 93caf9e..8d8a6f7 100644\n--- a/tests/TestSuite_runtime_vf_queue_number.py\n+++ b/tests/TestSuite_runtime_vf_queue_number.py\n@@ -297,13 +297,12 @@ class TestRuntimeVfQn(TestCase):\n         gest_eal_param = '-w %s --file-prefix=test2' % self.vm_dut_0.ports_info[0]['pci']\n         self.vm0_testpmd = PmdOutput(self.vm_dut_0)\n \n-        command_0 = \"./%s/app/testpmd -c %s -n %d %s -- -i %s\" \\\n-                  % (self.dut.target, '0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=0 --txq=0')\n+        app_name = self.dut.apps_name['test-pmd']\n+        command_0 = app_name + \"-c %s -n %d %s -- -i %s\" % ('0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=0 --txq=0')\n         outstring = self.vm0_testpmd.execute_cmd(command_0, expected='# ')\n         self.verify(\"Either rx or tx queues should be non-zero\" in outstring, \"The output of testpmd start is different from expect when set invalid VF queue number 0.\")\n         time.sleep(2)\n-        command_17 = \"./%s/app/testpmd -c %s -n %d %s -- -i %s\" \\\n-                  % (self.dut.target, '0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=17 --txq=17')\n+        command_17 = app_name + \"-c %s -n %d %s -- -i %s\" % ('0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=17 --txq=17')\n         outstring1 = self.vm0_testpmd.execute_cmd(command_17, expected='# ')\n         self.verify(\"rxq 17 invalid - must be >= 0 && <= 16\" in outstring1,\n                     \"The output of testpmd start is different from expect when set invalid VF queue number 17.\")\n",
    "prefixes": [
        "3/8"
    ]
}