get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 103277,
    "url": "http://patches.dpdk.org/api/patches/103277/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20211101120056.12228-2-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": "<20211101120056.12228-2-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211101120056.12228-2-zhiminx.huang@intel.com",
    "date": "2021-11-01T12:00:53",
    "name": "[V1,2/5] test_plans/cvl_ip_fragment_rte_flow:modify testplan to adapt dpdk changed",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "643a6fd7514590261523405d707661c4568fc0d8",
    "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/20211101120056.12228-2-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 20153,
            "url": "http://patches.dpdk.org/api/series/20153/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=20153",
            "date": "2021-11-01T12:00:52",
            "name": "[V1,1/5] test_plans/cvl_iavf_ip_fragment_rte_flow:modify testplan to adapt dpdk changed",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/20153/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/103277/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/103277/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 1D2DBA0C55;\n\tMon,  1 Nov 2021 04:31:54 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A77E2410FC;\n\tMon,  1 Nov 2021 04:31:53 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id 21B0840DF6\n for <dts@dpdk.org>; Mon,  1 Nov 2021 04:31:51 +0100 (CET)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 Oct 2021 20:31:51 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.103])\n by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 Oct 2021 20:31:50 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10154\"; a=\"231202978\"",
            "E=Sophos;i=\"5.87,198,1631602800\"; d=\"scan'208\";a=\"231202978\"",
            "E=Sophos;i=\"5.87,198,1631602800\"; d=\"scan'208\";a=\"637668835\""
        ],
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Date": "Mon,  1 Nov 2021 20:00:53 +0800",
        "Message-Id": "<20211101120056.12228-2-zhiminx.huang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20211101120056.12228-1-zhiminx.huang@intel.com>",
        "References": "<20211101120056.12228-1-zhiminx.huang@intel.com>",
        "Subject": "[dts] [PATCH V1 2/5] test_plans/cvl_ip_fragment_rte_flow:modify\n testplan to adapt dpdk changed",
        "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": "1.according to b3d95f1817288ca228f09b9164d6d3ff6249b175.\nthe default rss not support ipfrag rss, need take a rss rule to enable ipfrag rss for fdir test.\n\n2.according to e4a0a7599d974f05665fec3e4c251659f0b11453.\nswitch have high priority,should take the rule with mark into fdir.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n .../cvl_ip_fragment_rte_flow_test_plan.rst    | 25 +++++++++++++------\n 1 file changed, 17 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/test_plans/cvl_ip_fragment_rte_flow_test_plan.rst b/test_plans/cvl_ip_fragment_rte_flow_test_plan.rst\nindex 704b590c..909692cc 100644\n--- a/test_plans/cvl_ip_fragment_rte_flow_test_plan.rst\n+++ b/test_plans/cvl_ip_fragment_rte_flow_test_plan.rst\n@@ -102,8 +102,17 @@ The steps same as FDIR/RSS test steps\n \n take 'MAC_IPV4_FRAG fdir queue index' for fdir example\n ------------------------------------------------------\n+\n+.. note::\n+\n+   The default rss not support ipfragment, need take a rss rule to enable ipfragment rss.\n+\n 1. validate and create rule::\n \n+      take a ipfragment rss rule:\n+      flow create 0 ingress pattern eth / ipv4 / end actions rss types eth ipv4-frag end key_len 0 queues end / end\n+\n+      take fdir rule:\n       flow validate 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions queue index 1 / mark / end\n       Flow rule validated\n       flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions queue index 1 / mark / end\n@@ -283,7 +292,7 @@ Subcase 4: MAC_IPV4_FRAG fdir drop\n \n 1. rules::\n \n-     flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions drop / end\n+     flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions drop / mark / end\n \n 2. matched packets::\n \n@@ -376,7 +385,7 @@ Subcase 4: MAC_IPV6_FRAG fdir drop\n \n 1. rules::\n \n-     flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext frag_data spec 0x0001 frag_data mask 0x0001 / end actions drop / end\n+     flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext frag_data spec 0x0001 frag_data mask 0x0001 / end actions drop / mark / end\n \n 2. matched packets::\n \n@@ -575,8 +584,8 @@ Subcase 1: exclusive validation fdir rule\n -----------------------------------------\n 1. create fdir filter rules::\n \n-     flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.20 / end actions queue index 1 / end\n-     flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions queue index 2 / end\n+     flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.20 / end actions queue index 1 / mark / end\n+     flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions queue index 2 / mark / end\n \n 2. hit pattern/defined input set id, the pkt received for queue 2::\n \n@@ -586,8 +595,8 @@ Subcase 2: exclusive validation fdir rule\n -----------------------------------------\n 1. create fdir filter rules::\n \n-     flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions queue index 2 / end\n-     flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.20 / end actions queue index 1 / end\n+     flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions queue index 2 / mark / end\n+     flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.20 / end actions queue index 1 / mark / end\n \n 2. hit pattern/defined input set id, the pkt received for queue 2::\n \n@@ -600,7 +609,7 @@ Subcase 3: exclusive validation rss rule\n      flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4 end key_len 0 queues end / end\n      flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-frag end key_len 0 queues end / end\n \n-2. hit pattern/defined input set id, the pkt received for rss same queue::\n+2. hit pattern/defined input set id, the pkt received for rss different queue::\n \n      p=Ether()/IP(id=47750)/Raw('X'*666); pkts=fragment6(p, 500)\n      p=Ether()/IP(id=47751)/Raw('X'*666); pkts=fragment6(p, 500)\n@@ -612,7 +621,7 @@ Subcase 4: exclusive validation rss rule\n      flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-frag end key_len 0 queues end / end\n      flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4 end key_len 0 queues end / end\n \n-2. hit pattern/defined input set id, the pkt received for rss same queue::\n+2. hit pattern/defined input set id, the pkt received for rss different queue::\n \n      p=Ether()/IP(id=47750)/Raw('X'*666); pkts=fragment6(p, 500)\n      p=Ether()/IP(id=47751)/Raw('X'*666); pkts=fragment6(p, 500)\n",
    "prefixes": [
        "V1",
        "2/5"
    ]
}