get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 103937,
    "url": "https://patches.dpdk.org/api/patches/103937/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20211108162854.96466-11-linglix.chen@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": "<20211108162854.96466-11-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211108162854.96466-11-linglix.chen@intel.com",
    "date": "2021-11-08T16:28:52",
    "name": "[V1,10/12] tests/vhost_virtio_pmd_interrupt: DPDK code prefix DEV change to RTE_ETH",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "429b0c5da5b0c46c5730227dee7f550794b46c9d",
    "submitter": {
        "id": 1843,
        "url": "https://patches.dpdk.org/api/people/1843/?format=api",
        "name": "Lingli Chen",
        "email": "linglix.chen@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20211108162854.96466-11-linglix.chen@intel.com/mbox/",
    "series": [
        {
            "id": 20370,
            "url": "https://patches.dpdk.org/api/series/20370/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=20370",
            "date": "2021-11-08T16:28:42",
            "name": "DPDK code prefix DEV change to RTE_ETH",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/20370/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/103937/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/103937/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 DF084A0C4B;\n\tMon,  8 Nov 2021 09:27:25 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DA984410E9;\n\tMon,  8 Nov 2021 09:27:25 +0100 (CET)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 6BDA640DF7\n for <dts@dpdk.org>; Mon,  8 Nov 2021 09:27:23 +0100 (CET)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Nov 2021 00:27:23 -0800",
            "from unknown (HELO dpdk.lan) ([10.240.183.77])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Nov 2021 00:27:21 -0800"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10161\"; a=\"295628006\"",
            "E=Sophos;i=\"5.87,218,1631602800\"; d=\"scan'208\";a=\"295628006\"",
            "E=Sophos;i=\"5.87,218,1631602800\"; d=\"scan'208\";a=\"491129229\""
        ],
        "From": "Lingli Chen <linglix.chen@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Lingli Chen <linglix.chen@intel.com>",
        "Date": "Mon,  8 Nov 2021 16:28:52 +0000",
        "Message-Id": "<20211108162854.96466-11-linglix.chen@intel.com>",
        "X-Mailer": "git-send-email 2.33.1",
        "In-Reply-To": "<20211108162854.96466-1-linglix.chen@intel.com>",
        "References": "<20211108162854.96466-1-linglix.chen@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1 10/12] tests/vhost_virtio_pmd_interrupt: DPDK code\n prefix DEV change to RTE_ETH",
        "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": "According to dpdk commit 295968d17(\"ethdev: add namespace\"), DPDK code prefix DEV change to RTE_ETH.\n\nSigned-off-by: Lingli Chen <linglix.chen@intel.com>\n---\n tests/TestSuite_vhost_virtio_pmd_interrupt.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py\nindex f421a095..7f81f0a8 100644\n--- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py\n+++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py\n@@ -99,9 +99,9 @@ class TestVhostVirtioPmdInterrupt(TestCase):\n         rebuild l3fwd-power in vm and set the virtio-net driver\n         \"\"\"\n         self.vm_dut.send_expect(\"cp ./examples/l3fwd-power/main.c /tmp/\", \"#\")\n-        self.vm_dut.send_expect(\"sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c\", \"#\", 10)\n+        self.vm_dut.send_expect(\"sed -i '/RTE_ETH_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c\", \"#\", 10)\n         self.vm_dut.send_expect(\n-                \"sed -i 's/.mq_mode        = ETH_MQ_RX_RSS,/.mq_mode        = ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c\", \"#\", 10)\n+                \"sed -i 's/.mq_mode        = RTE_ETH_MQ_RX_RSS,/.mq_mode        = RTE_ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c\", \"#\", 10)\n         out = self.vm_dut.build_dpdk_apps('examples/l3fwd-power')\n         self.verify(\"Error\" not in out, \"compilation l3fwd-power error\")\n         self.vm_dut.send_expect(\"modprobe vfio enable_unsafe_noiommu_mode=1\", \"#\")\n",
    "prefixes": [
        "V1",
        "10/12"
    ]
}