get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 103939,
    "url": "https://patches.dpdk.org/api/patches/103939/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20211108162854.96466-13-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-13-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211108162854.96466-13-linglix.chen@intel.com",
    "date": "2021-11-08T16:28:54",
    "name": "[V1,12/12] tests/vhost_virtio_user_interrupt: DPDK code prefix DEV change to RTE_ETH",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "93191cf17ca8d8c73785cefe0caa753ca3290642",
    "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-13-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/103939/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/103939/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 36A44A0C4B;\n\tMon,  8 Nov 2021 09:27:28 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2EBCF41123;\n\tMon,  8 Nov 2021 09:27:28 +0100 (CET)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 0650E40DF7\n for <dts@dpdk.org>; Mon,  8 Nov 2021 09:27:26 +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:26 -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:24 -0800"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10161\"; a=\"295628013\"",
            "E=Sophos;i=\"5.87,218,1631602800\"; d=\"scan'208\";a=\"295628013\"",
            "E=Sophos;i=\"5.87,218,1631602800\"; d=\"scan'208\";a=\"491129255\""
        ],
        "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:54 +0000",
        "Message-Id": "<20211108162854.96466-13-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 12/12] tests/vhost_virtio_user_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_user_interrupt.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py b/tests/TestSuite_vhost_virtio_user_interrupt.py\nindex 89ff9800..bb7b249c 100644\n--- a/tests/TestSuite_vhost_virtio_user_interrupt.py\n+++ b/tests/TestSuite_vhost_virtio_user_interrupt.py\n@@ -90,9 +90,9 @@ class TestVirtioUserInterrupt(TestCase):\n     def prepare_l3fwd_power(self):\n         self.dut.send_expect(\"cp ./examples/l3fwd-power/main.c .\", \"#\")\n         self.dut.send_expect(\n-                \"sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c\", \"#\", 10)\n+                \"sed -i '/RTE_ETH_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c\", \"#\", 10)\n         self.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.dut.build_dpdk_apps(\"./examples/l3fwd-power\")\n         self.verify(\"Error\" not in out, \"compilation l3fwd-power error\")\n \n",
    "prefixes": [
        "V1",
        "12/12"
    ]
}