get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 103931,
    "url": "https://patches.dpdk.org/api/patches/103931/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20211108162854.96466-5-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-5-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211108162854.96466-5-linglix.chen@intel.com",
    "date": "2021-11-08T16:28:46",
    "name": "[V1,04/12] tests/vdev_primary_secondary: DPDK code prefix DEV change to RTE_ETH",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "89c4a6376042bdb5f6e100dbe190e749996dd80d",
    "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-5-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/103931/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/103931/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 008F6A0C4B;\n\tMon,  8 Nov 2021 09:27:16 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EF8BC41100;\n\tMon,  8 Nov 2021 09:27:15 +0100 (CET)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 3F55040DF7\n for <dts@dpdk.org>; Mon,  8 Nov 2021 09:27:14 +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:13 -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:12 -0800"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10161\"; a=\"295627973\"",
            "E=Sophos;i=\"5.87,218,1631602800\"; d=\"scan'208\";a=\"295627973\"",
            "E=Sophos;i=\"5.87,218,1631602800\"; d=\"scan'208\";a=\"491129104\""
        ],
        "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:46 +0000",
        "Message-Id": "<20211108162854.96466-5-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 04/12] tests/vdev_primary_secondary: 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_vdev_primary_secondary.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vdev_primary_secondary.py b/tests/TestSuite_vdev_primary_secondary.py\nindex 093cd57c..9e865601 100644\n--- a/tests/TestSuite_vdev_primary_secondary.py\n+++ b/tests/TestSuite_vdev_primary_secondary.py\n@@ -132,9 +132,9 @@ class TestVdevPrimarySecondary(TestCase):\n     def prepare_symmetric_mp(self):\n         self.vm_dut.send_expect(\"cp ./examples/multi_process/symmetric_mp/main.c .\", \"#\")\n         self.vm_dut.send_expect(\n-                \"sed -i '/.offloads = DEV_RX_OFFLOAD_CHECKSUM,/d' ./examples/multi_process/symmetric_mp/main.c\", \"#\")\n+                \"sed -i '/.offloads = RTE_ETH_RX_OFFLOAD_CHECKSUM,/d' ./examples/multi_process/symmetric_mp/main.c\", \"#\")\n         self.vm_dut.send_expect(\n-                \"sed -i 's/ETH_MQ_RX_RSS,/ETH_MQ_RX_NONE,/g' ./examples/multi_process/symmetric_mp/main.c\", \"#\")\n+                \"sed -i 's/RTE_ETH_MQ_RX_RSS,/RTE_ETH_MQ_RX_NONE,/g' ./examples/multi_process/symmetric_mp/main.c\", \"#\")\n         out = self.vm_dut.build_dpdk_apps('./examples/multi_process/symmetric_mp')\n         self.verify(\"Error\" not in out, \"compilation symmetric_mp error\")\n \n",
    "prefixes": [
        "V1",
        "04/12"
    ]
}