get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 77356,
    "url": "http://patches.dpdk.org/api/patches/77356/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20200911161656.30238-3-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": "<20200911161656.30238-3-weix.ling@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20200911161656.30238-3-weix.ling@intel.com",
    "date": "2020-09-11T16:16:53",
    "name": "[V3,2/5] tests/TestSuite_af_xdp_2:use API to set dpdk config when use meson",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a7bff0b4f832c5a1783bcbf5f0ce9e2744e796ef",
    "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/20200911161656.30238-3-weix.ling@intel.com/mbox/",
    "series": [
        {
            "id": 12137,
            "url": "http://patches.dpdk.org/api/series/12137/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=12137",
            "date": "2020-09-11T16:16:51",
            "name": "use API to set dpdk config when use meson",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/12137/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/77356/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/77356/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 29CB8A04B5;\n\tFri, 11 Sep 2020 10:23:09 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1ACE01C0CC;\n\tFri, 11 Sep 2020 10:23:09 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 072EC1C0CC\n for <dts@dpdk.org>; Fri, 11 Sep 2020 10:23:05 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Sep 2020 01:23:05 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.222])\n by fmsmga001.fm.intel.com with ESMTP; 11 Sep 2020 01:23:04 -0700"
        ],
        "IronPort-SDR": [
            "\n HwyJp/0xLYj9BigikIOPeRnJqUk6gbmt1WNMcAGROZ+zn71Yw34HPkH4iwY64bNQBssxDETNyK\n yIHp0Gq6zHQA==",
            "\n 8PhpeW/rSOZBR2f/xJoGf0CLAOhHX80x8aY3uBMdJAQF3aqHUgKm/4vjbDo1ria3BBRkn5X6io\n epaiEZ9QzfoA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9740\"; a=\"222916274\"",
            "E=Sophos;i=\"5.76,414,1592895600\"; d=\"scan'208\";a=\"222916274\"",
            "E=Sophos;i=\"5.76,414,1592895600\"; d=\"scan'208\";a=\"408015868\""
        ],
        "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 16:16:53 +0000",
        "Message-Id": "<20200911161656.30238-3-weix.ling@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200911161656.30238-1-weix.ling@intel.com>",
        "References": "<20200911161656.30238-1-weix.ling@intel.com>",
        "Subject": "[dts] [PATCH V3 2/5] tests/TestSuite_af_xdp_2: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_af_xdp_2.py | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tests/TestSuite_af_xdp_2.py b/tests/TestSuite_af_xdp_2.py\nindex f1d495f..4586c9d 100644\n--- a/tests/TestSuite_af_xdp_2.py\n+++ b/tests/TestSuite_af_xdp_2.py\n@@ -77,6 +77,7 @@ class TestAfXdp(TestCase):\n     def prepare_dpdk(self):\n         self.dut.send_expect(\n             \"sed -i 's/CONFIG_RTE_LIBRTE_PMD_AF_XDP=n$/CONFIG_RTE_LIBRTE_PMD_AF_XDP=y/' config/common_base\", \"# \")\n+        self.dut.set_build_options({'RTE_LIBRTE_PMD_AF_XDP': 'y'})\n         self.dut.build_install_dpdk(self.dut.target)\n \n     def set_port_queue(self, intf):\n@@ -431,7 +432,7 @@ class TestAfXdp(TestCase):\n \n     def tear_down_all(self):\n         self.dut.kill_all()\n-\n         self.dut.send_expect(\n             \"sed -i 's/CONFIG_RTE_LIBRTE_PMD_AF_XDP=y$/CONFIG_RTE_LIBRTE_PMD_AF_XDP=n/' config/common_base\", \"# \")\n+        self.dut.set_build_options({'RTE_LIBRTE_PMD_AF_XDP': 'n'})\n         self.dut.build_install_dpdk(self.dut.target)\n",
    "prefixes": [
        "V3",
        "2/5"
    ]
}