get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 115446,
    "url": "https://patches.dpdk.org/api/patches/115446/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20220826024308.17447-7-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": "<20220826024308.17447-7-weiyuanx.li@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220826024308.17447-7-weiyuanx.li@intel.com",
    "date": "2022-08-26T02:43:05",
    "name": "[V2,07/10] test_plans/ice_advanced_rss: update dts code for dpdk csum change",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "210ead81b25ae488a356a426b429d0e2aeab30e2",
    "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/20220826024308.17447-7-weiyuanx.li@intel.com/mbox/",
    "series": [
        {
            "id": 24416,
            "url": "https://patches.dpdk.org/api/series/24416/?format=api",
            "web_url": "https://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": "https://patches.dpdk.org/series/24416/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/115446/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/115446/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 82EEAA0551;\n\tFri, 26 Aug 2022 04:43:19 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 76B7E4280C;\n\tFri, 26 Aug 2022 04:43:19 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 76CE54281A\n for <dts@dpdk.org>; Fri, 26 Aug 2022 04:43:17 +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:17 -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:15 -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=1661481797; x=1693017797;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=7NM346jTtrWTl7wIbKaiwSVBMrt5YujZj9ektBTNJ1Q=;\n b=fF9GFnuGHRkilqSa15ITfXTKshrr+Lf9kMxobEqcPn7rf0Ue+vS22t2D\n WrsShQGc6ZNVMp5Wmkj7lP+YKbQZwqASwoPMUT55h4LpDTvMoKS8rW5z+\n l4CKdr5BvzKBekJH29YztnW0jvcRBAHAeM5WbeekpXvmjj1qDM2NNSJw8\n fRRV465f+KgZyzBBov8gpHCjBEd/lycN4K5fmUmx2Ft+/gVcfNPyPALnt\n F185ieebBO2yxLEH8vas+GTA5Cfllw9tv+R5KyS2z80cojEyq9XmVLXsJ\n nkASg8PsPIWnywTmMKSD4ZkwV5XWWl9jsl16v728P5QVpJOQoPBnZm9IO Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10450\"; a=\"295187365\"",
            "E=Sophos;i=\"5.93,264,1654585200\"; d=\"scan'208\";a=\"295187365\"",
            "E=Sophos;i=\"5.93,264,1654585200\"; d=\"scan'208\";a=\"671275214\""
        ],
        "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 07/10] test_plans/ice_advanced_rss: update dts code\n for dpdk csum change",
        "Date": "Fri, 26 Aug 2022 10:43:05 +0800",
        "Message-Id": "<20220826024308.17447-7-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 test_plans/ice_advanced_rss_test_plan.rst | 18 +++++++++---------\n 1 file changed, 9 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/test_plans/ice_advanced_rss_test_plan.rst b/test_plans/ice_advanced_rss_test_plan.rst\nindex 48dcc545..b6488573 100644\n--- a/test_plans/ice_advanced_rss_test_plan.rst\n+++ b/test_plans/ice_advanced_rss_test_plan.rst\n@@ -2461,21 +2461,21 @@ Test case: Set HW csum, flow rule does not impact RX checksum and TX checksum\n 3. Capture the tx packet at tester port and check checksum values same as expect pkts::\n \n     take a IPV4 for example:\n-    p = Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\")/(\"X\"*48)\n+    p = Ether(dst=\"00:11:22:33:44:56\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\")/(\"X\"*48)\n     p.show2()\n     expect pkts checksum value: chksum= 0x3b0f\n \n-    tcpdump -i ens7  'ether src 40:a6:b7:0b:76:28 and ether[12:2] != 0x88cc'  -Q in -w /tmp/tester/sniff_ens7.pcap -c 7\n+    tcpdump -i ens7  'ether src 52:00:00:00:00:00 and ether[12:2] != 0x88cc'  -Q in -w /tmp/tester/sniff_ens7.pcap -c 7\n \n 4. Send packets::\n \n-    p1=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\", chksum=0xfff3)/(\"X\"*48)\n-    p2=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\")/TCP(sport=22, chksum=0xfff3)/(\"X\"*48)\n-    p3=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\")/UDP(sport=22, chksum=0x1)/(\"X\"*48)\n-    p4=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\")/SCTP(sport=22, chksum=0x1)/(\"X\"*48)\n-    p5=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IPv6()/TCP(sport=22, chksum=0xe38)/(\"X\"*48)\n-    p6=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IPv6()/UDP(sport=22, chksum=0xe38)/(\"X\"*48)\n-    p7=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IPv6()/SCTP(sport=22, chksum=0xf)/(\"X\"*48)\n+    p1=Ether(dst=\"00:11:22:33:44:56\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\", chksum=0xfff3)/(\"X\"*48)\n+    p2=Ether(dst=\"00:11:22:33:44:56\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\")/TCP(sport=22, chksum=0xfff3)/(\"X\"*48)\n+    p3=Ether(dst=\"00:11:22:33:44:56\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\")/UDP(sport=22, chksum=0x1)/(\"X\"*48)\n+    p4=Ether(dst=\"00:11:22:33:44:56\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\")/SCTP(sport=22, chksum=0x1)/(\"X\"*48)\n+    p5=Ether(dst=\"00:11:22:33:44:56\", src=\"52:00:00:00:00:00\")/IPv6()/TCP(sport=22, chksum=0xe38)/(\"X\"*48)\n+    p6=Ether(dst=\"00:11:22:33:44:56\", src=\"52:00:00:00:00:00\")/IPv6()/UDP(sport=22, chksum=0xe38)/(\"X\"*48)\n+    p7=Ether(dst=\"00:11:22:33:44:56\", src=\"52:00:00:00:00:00\")/IPv6()/SCTP(sport=22, chksum=0xf)/(\"X\"*48)\n \n     take a IPV4 for example:\n     get sniff_ens7.pcap checksum value: 0x3b0f\n",
    "prefixes": [
        "V2",
        "07/10"
    ]
}