get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 120157,
    "url": "https://patches.dpdk.org/api/patches/120157/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20221125091637.1811-12-weiyuanx.li@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": "<20221125091637.1811-12-weiyuanx.li@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20221125091637.1811-12-weiyuanx.li@intel.com",
    "date": "2022-11-25T09:16:37",
    "name": "[V1,12/12] tests/tx_preparation: dts adaptation DPDk checksum function changes",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "5ccd3bfaad93aa59ec184afbe944f7fd569281c4",
    "submitter": {
        "id": 2477,
        "url": "https://patches.dpdk.org/api/people/2477/?format=api",
        "name": "Weiyuan Li",
        "email": "weiyuanx.li@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20221125091637.1811-12-weiyuanx.li@intel.com/mbox/",
    "series": [
        {
            "id": 25892,
            "url": "https://patches.dpdk.org/api/series/25892/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=25892",
            "date": "2022-11-25T09:16:27",
            "name": "[V1,01/12] test_plans/vf_offload: dts adaptation DPDk checksum function changes",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/25892/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/120157/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/120157/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 01109A0032;\n\tFri, 25 Nov 2022 10:17:00 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E7C134161A;\n\tFri, 25 Nov 2022 10:16:59 +0100 (CET)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id D7DED4161A\n for <dts@dpdk.org>; Fri, 25 Nov 2022 10:16:58 +0100 (CET)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Nov 2022 01:16:58 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.252.248])\n by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Nov 2022 01:16:57 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1669367819; x=1700903819;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=QDymXv+1pXIm32fhJP0UPoS8DloLNteODA3vteDbReQ=;\n b=TMp3EpOPR/S0t++rmq8csrkQGty3wzLr7jzyyk7DpIuGFi/w9F9WGPqX\n mNhCM5ybLlbDjLigG9Ki6KSti9t7fQj9HgU5jy75V2RQ+PhdJRQWHlH1h\n uhW03mQ8lKfNWWClGKDrZ+TK70yqjUViMbVqPY7N63UdVm/zPUmqNupa6\n 4xID4Fm1FRcOqk4l8KxdFA/Y0SRS5JkU56jPU0zJ+L907t6mi0Rt/ha+s\n WpRl5us5eZg96okg8C8bKdKuoo38UTWsmL1T5E/AvOqtMcxGxbU0WOQuE\n Z3J82geQpger11Pb/0l0HBtI0qgylDhrjIDUDIaVuPe3MoZ9pyd4pcV/q w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10541\"; a=\"294148517\"",
            "E=Sophos;i=\"5.96,193,1665471600\"; d=\"scan'208\";a=\"294148517\"",
            "E=McAfee;i=\"6500,9779,10541\"; a=\"971513369\"",
            "E=Sophos;i=\"5.96,193,1665471600\"; d=\"scan'208\";a=\"971513369\""
        ],
        "From": "Weiyuan Li <weiyuanx.li@intel.com>",
        "To": "dts@dpdk.org,\n\tyuan.peng@intel.com",
        "Cc": "Weiyuan Li <weiyuanx.li@intel.com>",
        "Subject": "[dts][PATCH V1 12/12] tests/tx_preparation: dts adaptation DPDk\n checksum function changes",
        "Date": "Fri, 25 Nov 2022 17:16:37 +0800",
        "Message-Id": "<20221125091637.1811-12-weiyuanx.li@intel.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20221125091637.1811-1-weiyuanx.li@intel.com>",
        "References": "<20221125091637.1811-1-weiyuanx.li@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "DPDK22.11 236bc417e2da(app/testpmd: fix MAC header in checksum forward\nengine) changes the checksum functions adds switches to control whether\nto exchange MAC address.\n\nModify DTS code to adapt to this change.\n\nSigned-off-by: Weiyuan Li <weiyuanx.li@intel.com>\n---\n tests/TestSuite_tx_preparation.py | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/tests/TestSuite_tx_preparation.py b/tests/TestSuite_tx_preparation.py\nindex 42fff1cf..51d02d10 100644\n--- a/tests/TestSuite_tx_preparation.py\n+++ b/tests/TestSuite_tx_preparation.py\n@@ -183,6 +183,7 @@ class TestTX_preparation(TestCase):\n         \"\"\"\n         self.dut_testpmd.execute_cmd(\"tso set 0 0\")\n         self.dut_testpmd.execute_cmd(\"port start all\")\n+        self.dut_testpmd.execute_cmd(\"csum mac-swap off 0\", \"testpmd>\")\n         self.dut_testpmd.execute_cmd(\"start\")\n \n         self.send_packet_verify()\n@@ -192,6 +193,7 @@ class TestTX_preparation(TestCase):\n         ftag functional test\n         \"\"\"\n         self.dut_testpmd.execute_cmd(\"tso set %s 0\" % TSO_value)\n+        self.dut_testpmd.execute_cmd(\"csum mac-swap off 0\", \"testpmd>\")\n         self.dut_testpmd.execute_cmd(\"port start all\")\n         self.dut_testpmd.execute_cmd(\"start\")\n \n",
    "prefixes": [
        "V1",
        "12/12"
    ]
}