get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 77341,
    "url": "http://patches.dpdk.org/api/patches/77341/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200911152724.29030-6-weix.ling@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": "<20200911152724.29030-6-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200911152724.29030-6-weix.ling@intel.com",
    "date": "2020-09-11T15:27:24",
    "name": "[V5,5/5] tests/TestSuite_vmdq:use API to set dpdk config when use meson",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "10e8ee0db6b8993ea8ab5cac52eae9f0453a95ad",
    "submitter": {
        "id": 1828,
        "url": "http://patches.dpdk.org/api/people/1828/?format=api",
        "name": "Ling, WeiX",
        "email": "weix.ling@intel.com"
    },
    "delegate": {
        "id": 23642,
        "url": "http://patches.dpdk.org/api/users/23642/?format=api",
        "username": "lijuantu",
        "first_name": "LIjuan",
        "last_name": "Tu",
        "email": "lijuan.tu@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dts/patch/20200911152724.29030-6-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 12133,
            "url": "http://patches.dpdk.org/api/series/12133/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=12133",
            "date": "2020-09-11T15:27:19",
            "name": "use API to set dpdk config when use meson",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/12133/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/77341/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/77341/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 6E43FA04B5;\n\tFri, 11 Sep 2020 09:36:28 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 557621C10C;\n\tFri, 11 Sep 2020 09:36:28 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id EF69E1C0D9\n for <dts@dpdk.org>; Fri, 11 Sep 2020 09:36:25 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Sep 2020 00:36:25 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by orsmga002.jf.intel.com with ESMTP; 11 Sep 2020 00:36:24 -0700"
        ],
        "IronPort-SDR": [
            "\n 6acwb3tN84YI+urFAg+dJL5s88/H03+nzIglTvJg0n7FOL+qpN/UTbK9nbSHjcxwSwHm7Te2cI\n 89mo2q3toIFQ==",
            "\n WKg7QyJAnodgVJq5wbgiYU0uTXr6QuuCgNPNuuz3pH8xHCrJGQZrzQuy7bRgdMfAo7xQhAk9fl\n xDa6ubr6XSkA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9740\"; a=\"220265274\"",
            "E=Sophos;i=\"5.76,414,1592895600\"; d=\"scan'208\";a=\"220265274\"",
            "E=Sophos;i=\"5.76,414,1592895600\"; d=\"scan'208\";a=\"318201641\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "lingwei <weix.ling@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "lingwei <weix.ling@intel.com>",
        "Date": "Fri, 11 Sep 2020 15:27:24 +0000",
        "Message-Id": "<20200911152724.29030-6-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200911152724.29030-1-weix.ling@intel.com>",
        "References": "<20200911152724.29030-1-weix.ling@intel.com>",
        "Subject": "[dts] [PATCH V5 5/5] tests/TestSuite_vmdq:use API to set dpdk\n\tconfig when use meson",
        "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": "use API to set dpdk config when use meson\n\nSigned-off-by: lingwei <weix.ling@intel.com>\n---\n tests/TestSuite_vmdq.py | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tests/TestSuite_vmdq.py b/tests/TestSuite_vmdq.py\nindex 8e721e5..c80de64 100644\n--- a/tests/TestSuite_vmdq.py\n+++ b/tests/TestSuite_vmdq.py\n@@ -28,6 +28,7 @@ class TestVmdq(TestCase):\n         self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])\n \n         self.dut.send_expect(\"sed -i 's/CONFIG_RTE_MAX_QUEUES_PER_PORT=256/CONFIG_RTE_MAX_QUEUES_PER_PORT=1024/' ./config/common_base\", \"# \", 5)\n+        self.dut.set_build_options({'RTE_MAX_QUEUES_PER_PORT': 1024})\n         self.dut.build_install_dpdk(self.target)\n         # Update the max queue per port for Fortville.\n         self.dut.send_expect(\"sed -i 's/define MAX_QUEUES 128/define MAX_QUEUES 1024/' ./examples/vmdq/main.c\", \"#\", 5)\n@@ -133,7 +134,8 @@ class TestVmdq(TestCase):\n \n     def get_vmdq_stats(self):\n         vmdq_session = self.dut.new_session()\n-        vmdq_session.send_expect(\"kill -s SIGHUP  `pgrep -fl vmdq_app | awk '{print $1}'`\", \"#\", 20)\n+        app_name = self.dut.apps_name['vmdq_dcb'].split('/')[-1]\n+        vmdq_session.send_expect(\"kill -s SIGHUP  `pgrep -fl %s | awk '{print $1}'`\" % app_name, \"#\", 20)\n         out = self.dut.get_session_output()\n         self.logger.info(out)\n         vmdq_session.close()\n@@ -242,4 +244,5 @@ class TestVmdq(TestCase):\n         self.dut.send_expect(\n             \"sed -i 's/CONFIG_RTE_MAX_QUEUES_PER_PORT=1024/CONFIG_RTE_MAX_QUEUES_PER_PORT=256/' ./config/common_base\",\n             \"# \", 5)\n+        self.dut.set_build_options({'RTE_MAX_QUEUES_PER_PORT': 256})\n         self.dut.build_install_dpdk(self.target)\n",
    "prefixes": [
        "V5",
        "5/5"
    ]
}