get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 105668,
    "url": "http://patches.dpdk.org/api/patches/105668/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220107150817.16139-4-zhiminx.huang@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": "<20220107150817.16139-4-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220107150817.16139-4-zhiminx.huang@intel.com",
    "date": "2022-01-07T15:08:17",
    "name": "[V2,4/4] test_plans/cvl_advanced_iavf_rss_test_plan:modify testplan",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "587535dcfe30cd2bec90e1bee8e475044b8fb26b",
    "submitter": {
        "id": 1685,
        "url": "http://patches.dpdk.org/api/people/1685/?format=api",
        "name": "Huang, ZhiminX",
        "email": "zhiminx.huang@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220107150817.16139-4-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 21089,
            "url": "http://patches.dpdk.org/api/series/21089/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=21089",
            "date": "2022-01-07T15:08:14",
            "name": "[V2,1/4] tests/cvl_advanced_rss:add pf rss cases",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/21089/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/105668/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/105668/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 4BBD4A0351;\n\tFri,  7 Jan 2022 07:38:57 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4567840150;\n\tFri,  7 Jan 2022 07:38:57 +0100 (CET)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 0A70840150\n for <dts@dpdk.org>; Fri,  7 Jan 2022 07:38:55 +0100 (CET)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Jan 2022 22:38:55 -0800",
            "from unknown (HELO localhost.localdomain) ([10.239.251.97])\n by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Jan 2022 22:38:54 -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=1641537536; x=1673073536;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=2lp5UVd0a5d16uDUcrubFlb6Pj0Lr2NbvtH5cXBywF0=;\n b=XkuJp1ChllBgTOTTUM9pHssig7YthkuSjbgVr2EY7PAp6YcqXBWwAEtv\n 6snc+L2UAGhobnzKAW87YUz18ObdaBOBca0MhQc5EoGM/eqSKTRnEazYv\n 5/49q5zr5clNDsYPtYlyYfAMA+V2yBogGTRVc2iIdcOYGpbyjA6/CKSVU\n 5AyYGTTgvnjNbcz2AZVu4fxZURN6SxbyvoRgIm9eetIMKndDPb3Xr7j0v\n SOM/YKfA5QxUJ6+3a7uIHVUNigMSbiBlcazyhVu5L35nDrWFNfsHB7RxZ\n gETVpEIKmbX27GUyNDIaRuLRYEsLqshNnh/dOHwH/Qwj4e/l+yYJjpWk4 Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10219\"; a=\"306185649\"",
            "E=Sophos;i=\"5.88,268,1635231600\"; d=\"scan'208\";a=\"306185649\"",
            "E=Sophos;i=\"5.88,268,1635231600\"; d=\"scan'208\";a=\"668684596\""
        ],
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org,\n\tyuan.peng@intel.com",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Subject": "[dts] [PATCH V2 4/4]\n test_plans/cvl_advanced_iavf_rss_test_plan:modify testplan",
        "Date": "Fri,  7 Jan 2022 23:08:17 +0800",
        "Message-Id": "<20220107150817.16139-4-zhiminx.huang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20220107150817.16139-1-zhiminx.huang@intel.com>",
        "References": "<20220107150817.16139-1-zhiminx.huang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "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": "1.remove no hit pattern test steps.\n2.modify about tx checksum test steps.\n3.add mark to support fdir rule.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n .../cvl_advanced_iavf_rss_test_plan.rst       | 58 +++++++------------\n 1 file changed, 21 insertions(+), 37 deletions(-)",
    "diff": "diff --git a/test_plans/cvl_advanced_iavf_rss_test_plan.rst b/test_plans/cvl_advanced_iavf_rss_test_plan.rst\nindex 59f63fbd..f991aaf7 100755\n--- a/test_plans/cvl_advanced_iavf_rss_test_plan.rst\n+++ b/test_plans/cvl_advanced_iavf_rss_test_plan.rst\n@@ -2783,10 +2783,6 @@ Test case: MAC_IPV4_IPV4_CHKSUM\n \n     p3=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:01\")/IP(src=\"192.168.1.1\",dst=\"192.168.1.2\",chksum=0x1)/ (\"X\"*48)\n \n-5. not hit pattern::\n-\n-    p4=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IPv6(dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\", src=\"ABAB:910A:2222:5498:8475:1111:3900:1010\")/(\"X\"*48)\n-\n Test case: MAC_IPV4_UDP_CHKSUM\n ==============================\n Subcase 1: MAC_IPV4_UDP_L4_CHKSUM\n@@ -2807,10 +2803,6 @@ Subcase 1: MAC_IPV4_UDP_L4_CHKSUM\n \n     p3=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:01\")/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\",chksum=0x3)/UDP(sport=32, dport=33,chksum=0xffff)/(\"X\"*48)\n \n-5. not hit pattern::\n-\n-    p4=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\",dst=\"192.168.0.2\")/SCTP(sport=22, dport=23,chksum=0xffff)/(\"X\"*48)\n-\n Subcase 2: MAC_IPV4_UDP_IPV4_CHKSUM\n -----------------------------------\n 1. create rss rule::\n@@ -2829,10 +2821,6 @@ Subcase 2: MAC_IPV4_UDP_IPV4_CHKSUM\n \n     p3=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:01\")/IP(src=\"192.168.1.1\", dst=\"192.168.1.2\",chksum=0xffff)/UDP(sport=32, dport=33,chksum=0xffff)/(\"X\"*48)\n \n-5. not hit pattern::\n-\n-    p4=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IP(src=\"192.168.0.1\",dst=\"192.168.0.2\",chksum=0xffff)/SCTP(sport=22, dport=23)/(\"X\"*48)\n-\n Test case: MAC_IPV4_TCP_CHKSUM\n ==============================\n The rules and packets in this test case is similar to \"Test case: MAC_IPV4_UDP_CHKSUM\",\n@@ -2885,10 +2873,6 @@ Test case: MAC_IPV6_UDP_L4_CHKSUM\n \n     p3 = Ether(src=\"52:00:00:00:00:01\", dst=\"00:11:22:33:44:55\")/IPv6(dst=\"CDCD:910A:2222:5498:8475:1111:3900:2021\", src=\"ABAB:910A:2222:5498:8475:1111:3900:1011\")/UDP(sport=32, dport=33, chksum=0x1)/(\"X\"*48)\n \n-5. not hit pattern::\n-\n-    p4 = Ether(src=\"52:00:00:00:00:00\", dst=\"00:11:22:33:44:55\")/IPv6(dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\", src=\"ABAB:910A:2222:5498:8475:1111:3900:1010\")/TCP(sport=22, dport=23, chksum=0x1)/(\"X\"*49)\n-\n Test case: MAC_IPV6_TCP_L4_CHKSUM\n =================================\n 1. create rss rule::\n@@ -2907,10 +2891,6 @@ Test case: MAC_IPV6_TCP_L4_CHKSUM\n \n     p3 = Ether(src=\"52:00:00:00:00:01\", dst=\"00:11:22:33:44:55\")/IPv6(dst=\"CDCD:910A:2222:5498:8475:1111:3900:2021\", src=\"ABAB:910A:2222:5498:8475:1111:3900:1011\")/TCP(sport=32, dport=33, chksum=0x1)/(\"X\"*48)\n \n-5. not hit pattern::\n-\n-    p4 = Ether(src=\"52:00:00:00:00:00\", dst=\"00:11:22:33:44:55\")/IPv6(dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\", src=\"ABAB:910A:2222:5498:8475:1111:3900:1010\")/SCTP(sport=22, dport=23, chksum=0x1)/(\"X\"*49)\n-\n Test case: MAC_IPV6_SCTP_L4_CHKSUM\n ==================================\n 1. create rss rule::\n@@ -2929,10 +2909,6 @@ Test case: MAC_IPV6_SCTP_L4_CHKSUM\n \n     p3 = Ether(src=\"52:00:00:00:00:01\", dst=\"00:11:22:33:44:55\")/IPv6(dst=\"CDCD:910A:2222:5498:8475:1111:3900:2021\", src=\"ABAB:910A:2222:5498:8475:1111:3900:1011\")/SCTP(sport=32, dport=33, chksum=0xffffffff)/(\"X\"*48)\n \n-5. not hit pattern::\n-\n-    p4 = Ether(src=\"52:00:00:00:00:00\", dst=\"00:11:22:33:44:55\")/IPv6(dst=\"CDCD:910A:2222:5498:8475:1111:3900:2020\", src=\"ABAB:910A:2222:5498:8475:1111:3900:1010\")/UDP(sport=22, dport=23, chksum=0x1)/(\"X\"*49)\n-\n Test case: Checksum for different payload length\n ================================================\n 1. launch testpmd without \"--disable-rss\"::\n@@ -2983,8 +2959,8 @@ Test case: Checksum for different payload length\n 8. Send packets of step 2.\n    Check the IPV4/UDP/TCP/SCTP packets with different payload length have different hash value.\n \n-Test case: Set HW csum, flow rule doesn’t impact RX checksum and TX checksum\n-============================================================================\n+Test case: Set HW csum, flow rule does not impact RX checksum and TX checksum\n+=============================================================================\n 1. launch testpmd without \"--disable-rss\"::\n \n     ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c f -n 6 -- -i --rxq=16 --txq=16\n@@ -3001,21 +2977,29 @@ Test case: Set HW csum, flow rule doesn’t impact RX checksum and TX checksum\n     set verbose 1\n     start\n \n-3. Capture the tx packet at tester port::\n+3. Capture the tx packet at tester port and check checksum values same as expect pkts::\n \n-    tcpdump -i enp216s0f0 -Q in -e -n -v -x\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.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 \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+    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=0x0)/(\"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+    p7=Ether(dst=\"00:11:22:33:44:55\", src=\"52:00:00:00:00:00\")/IPv6()/SCTP(sport=22, chksum=0x0)/(\"X\"*48)\n+\n+    take a IPV4 for example:\n+    get sniff_ens7.pcap checksum value: 0x3b0f\n \n-   Check rx checksum good or bad, check if the tx checksum correct.\n+   check the tx checksum correct.\n \n 5. Create rss rules with chsum as inputset::\n \n@@ -3040,12 +3024,12 @@ Test case: Combined case with fdir queue group\n \n 2. Create fdir rules to queue group::\n \n-    flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss queues 4 5 end / end\n-    flow create 0 ingress pattern eth / ipv4 / udp / end actions rss queues 6 7 end / end\n-    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 / sctp / end actions rss queues 8 9 end / end\n-    flow create 0 ingress pattern eth / ipv6 / tcp / end actions rss queues 10 11 end / end\n-    flow create 0 ingress pattern eth / ipv6 / udp / end actions rss queues 12 13 end / end\n-    flow create 0 ingress pattern eth / ipv6 src is ABAB:910A:2222:5498:8475:1111:3900:1010 / sctp / end actions rss queues 14 15 end / end\n+    flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss queues 4 5 end / mark / end\n+    flow create 0 ingress pattern eth / ipv4 / udp / end actions rss queues 6 7 end / mark / end\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 / sctp / end actions rss queues 8 9 end mark / / end\n+    flow create 0 ingress pattern eth / ipv6 / tcp / end actions rss queues 10 11 end / mark / end\n+    flow create 0 ingress pattern eth / ipv6 / udp / end actions rss queues 12 13 end / mark / end\n+    flow create 0 ingress pattern eth / ipv6 src is ABAB:910A:2222:5498:8475:1111:3900:1010 / sctp / end actions rss queues 14 15 end / mark / end\n \n 3. Send packets::\n \n",
    "prefixes": [
        "V2",
        "4/4"
    ]
}