get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 115448,
    "url": "http://patches.dpdk.org/api/patches/115448/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220826024308.17447-9-weiyuanx.li@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": "<20220826024308.17447-9-weiyuanx.li@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220826024308.17447-9-weiyuanx.li@intel.com",
    "date": "2022-08-26T02:43:07",
    "name": "[V2,09/10] tests/tx_preparation: update dts code for dpdk csum change",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "8326fb89f0e9a9ddf358a9461034e613494d3d33",
    "submitter": {
        "id": 2477,
        "url": "http://patches.dpdk.org/api/people/2477/?format=api",
        "name": "Weiyuan Li",
        "email": "weiyuanx.li@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220826024308.17447-9-weiyuanx.li@intel.com/mbox/",
    "series": [
        {
            "id": 24416,
            "url": "http://patches.dpdk.org/api/series/24416/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=24416",
            "date": "2022-08-26T02:42:59",
            "name": "[V2,01/10] tests/vf_offload: update dts code for dpdk csum change",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/24416/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/115448/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/115448/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 CC64FA0551;\n\tFri, 26 Aug 2022 04:43:21 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C8299427F7;\n\tFri, 26 Aug 2022 04:43:21 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 6EE15400D6\n for <dts@dpdk.org>; Fri, 26 Aug 2022 04:43:20 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Aug 2022 19:43:20 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.248])\n by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Aug 2022 19:43:18 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1661481800; x=1693017800;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=PBgT5og1jhJ87fPtzaoHx7w2vKQ3t4tivSyoszY6wMo=;\n b=DhbRKmIwsHtEK1ivI7szA5kItkxYIxNKroG687JbSfMVXfgpE13iyIw7\n MT7oGW+ZgVYBPQNEaZBeqMRiRFTk9M6zJeKtE99OiX4yQVY1waINpyRER\n XOQxNqhUb7sfATp/68kkDzumrVAHK86zo10ijk7qbSx7AAamLQ2YQ/Qmu\n +1De2/peWD/tNB+oLYUHlpT7MH518+n+ETejfZ/pD9gXUcspwMQajF50P\n UdPdfH6UiGLu9Ardf2Z1SHaFYGKyMi0dwnfnycVwpK6zX9fTlZpNHYddT\n CK+OrMSek2/3bhnTVo+hU+ajWf+YgRtD9VV2nLA5neO+VtTC2MIx9LtiR Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10450\"; a=\"295187371\"",
            "E=Sophos;i=\"5.93,264,1654585200\"; d=\"scan'208\";a=\"295187371\"",
            "E=Sophos;i=\"5.93,264,1654585200\"; d=\"scan'208\";a=\"671275231\""
        ],
        "From": "Weiyuan Li <weiyuanx.li@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Weiyuan Li <weiyuanx.li@intel.com>,\n\tJiale Song <songx.jiale@intel.com>",
        "Subject": "[dts][PATCH V2 09/10] tests/tx_preparation: update dts code for dpdk\n csum change",
        "Date": "Fri, 26 Aug 2022 10:43:07 +0800",
        "Message-Id": "<20220826024308.17447-9-weiyuanx.li@intel.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20220826024308.17447-1-weiyuanx.li@intel.com>",
        "References": "<20220826024308.17447-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": "According to dpdk commit 9b4ea7ae77fa(app/testpmd: revert MAC update in checksum forwarding) modify\nthe script adapt to this chagne.\n\n1. Modify VF case to enable promisc.\n2. Modify PF case to send packet dst mac is random.\n\nSigned-off-by: Weiyuan Li <weiyuanx.li@intel.com>\n---\nTested-by: Jiale Song < songx.jiale@intel.com>\n\n tests/TestSuite_tx_preparation.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_tx_preparation.py b/tests/TestSuite_tx_preparation.py\nindex 9b70699c..c3e90f72 100644\n--- a/tests/TestSuite_tx_preparation.py\n+++ b/tests/TestSuite_tx_preparation.py\n@@ -73,7 +73,7 @@ class TestTX_preparation(TestCase):\n             \" --portmask=1 --port-topology=chained --max-pkt-len=%s --tx-offloads=0x8000\"\n             % Max_mtu,\n         )\n-        self.dmac = self.dut_testpmd.get_port_mac(0)\n+        self.dmac = \"00:11:22:33:44:55\"\n         self.dut_testpmd.execute_cmd(\"set fwd csum\")\n         self.dut_testpmd.execute_cmd(\"set verbose 1\")\n         # enable ip/udp/tcp hardware checksum\n@@ -84,7 +84,7 @@ class TestTX_preparation(TestCase):\n \n     def start_tcpdump(self, rxItf):\n         # only sniff form dut packet and filter lldp packet\n-        param = \"ether[12:2]!=0x88cc and ether src %s\" % self.dmac\n+        param = \"ether[12:2]!=0x88cc and ether dst %s -Q in\" % self.dmac\n         self.tester.send_expect(\"rm -rf ./getPackageByTcpdump.cap\", \"#\")\n         self.tester.send_expect(\n             \"tcpdump %s -i %s -n -e -vv -w\\\n",
    "prefixes": [
        "V2",
        "09/10"
    ]
}