get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 103110,
    "url": "http://patches.dpdk.org/api/patches/103110/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20211028160837.3575-1-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": "<20211028160837.3575-1-zhiminx.huang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20211028160837.3575-1-zhiminx.huang@intel.com",
    "date": "2021-10-28T16:08:36",
    "name": "[V1,1/2] test_plans/cvl_fdir:remove shared conter to adapt dpdk changed",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "345c23256a8d2ee9fd43ef366b9508471d4fbfa1",
    "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/20211028160837.3575-1-zhiminx.huang@intel.com/mbox/",
    "series": [
        {
            "id": 20078,
            "url": "http://patches.dpdk.org/api/series/20078/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=20078",
            "date": "2021-10-28T16:08:36",
            "name": "[V1,1/2] test_plans/cvl_fdir:remove shared conter to adapt dpdk changed",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/20078/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/103110/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/103110/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 62062A0C45;\n\tThu, 28 Oct 2021 09:39:15 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5C6DF40DDB;\n\tThu, 28 Oct 2021 09:39:15 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id D6A884003F\n for <dts@dpdk.org>; Thu, 28 Oct 2021 09:39:13 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Oct 2021 00:39:12 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.103])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Oct 2021 00:39:11 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10150\"; a=\"230200155\"",
            "E=Sophos;i=\"5.87,189,1631602800\"; d=\"scan'208\";a=\"230200155\"",
            "E=Sophos;i=\"5.87,189,1631602800\"; d=\"scan'208\";a=\"487021383\""
        ],
        "From": "Zhimin Huang <zhiminx.huang@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Zhimin Huang <zhiminx.huang@intel.com>",
        "Date": "Fri, 29 Oct 2021 00:08:36 +0800",
        "Message-Id": "<20211028160837.3575-1-zhiminx.huang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dts] [PATCH V1 1/2] test_plans/cvl_fdir:remove shared conter to\n 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": "acorrding to dpdk commit 92ef4b8f1688ded571fb2085727e5e82f2afe5d6 code change.\nremove shared on/off in fdir rule, sync testcase and testplan to adapt dpdk changed.\n\nSigned-off-by: Zhimin Huang <zhiminx.huang@intel.com>\n---\n test_plans/cvl_fdir_test_plan.rst | 38 +++++++++++++++----------------\n 1 file changed, 19 insertions(+), 19 deletions(-)",
    "diff": "diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_plan.rst\nindex b5052578..4c4526d8 100644\n--- a/test_plans/cvl_fdir_test_plan.rst\n+++ b/test_plans/cvl_fdir_test_plan.rst\n@@ -593,10 +593,10 @@ Test case: flow validation\n \n     flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions count / end\n     flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions queue index 1 / mark / count / end\n-    flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions rss queues 0 1 end / mark id 1 / count identifier 0x1234 shared on / end\n-    flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions passthru / mark id 2 / count identifier 0x34 shared off / end\n-    flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions mark id 3 / rss / count shared on / end\n-    flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions drop / count shared off / end\n+    flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions rss queues 0 1 end / mark id 1 / count identifier 0x1234 / end\n+    flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions passthru / mark id 2 / count identifier 0x34 / end\n+    flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions mark id 3 / rss / count / end\n+    flow validate 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions drop / count / end\n \n    get the message::\n \n@@ -3670,13 +3670,13 @@ Subcase 2: count query identifier share\n \n 1. create filter rules::\n \n-    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions queue index 1 / count identifier 0x1234 shared on / end\n-    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.2 / end actions rss queues 2 3 end / count identifier 0x1234 shared on / end\n-    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.3 / end actions passthru / mark / count identifier 0x1234 shared off / end\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions queue index 1 / count identifier 0x1234 / end\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.2 / end actions rss queues 2 3 end / count identifier 0x1234 / end\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.3 / end actions passthru / mark / count identifier 0x1234 / end\n     flow create 0 ingress pattern eth / ipv4 src is 192.168.0.4 / end actions mark id 1 / rss / count identifier 0x1234 / end\n-    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.5 / end actions queue index 5 / count shared on / end\n-    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.6 / end actions drop / count shared on / end\n-    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.7 / end actions drop / count identifier 0x1235 shared on / end\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.5 / end actions queue index 5 / count / end\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.6 / end actions drop / count / end\n+    flow create 0 ingress pattern eth / ipv4 src is 192.168.0.7 / end actions drop / count identifier 0x1235 / end\n     flow create 0 ingress pattern eth / ipv4 src is 192.168.0.8 / end actions rss / count / end\n \n 2. send matched packets::\n@@ -3704,13 +3704,13 @@ Subcase 2: count query identifier share\n     COUNT:\n      hits_set: 1\n      bytes_set: 0\n-     hits: 20\n+     hits: 10\n      bytes: 0\n     testpmd> flow query 0 1 count\n     COUNT:\n      hits_set: 1\n      bytes_set: 0\n-     hits: 20\n+     hits: 10\n      bytes: 0\n     testpmd> flow query 0 2 count\n     COUNT:\n@@ -3728,13 +3728,13 @@ Subcase 2: count query identifier share\n     COUNT:\n      hits_set: 1\n      bytes_set: 0\n-     hits: 20\n+     hits: 10\n      bytes: 0\n     testpmd> flow query 0 5 count\n     COUNT:\n      hits_set: 1\n      bytes_set: 0\n-     hits: 20\n+     hits: 10\n      bytes: 0\n     testpmd> flow query 0 6 count\n     COUNT:\n@@ -3986,13 +3986,13 @@ Subcase 3: two ports multi patterns count query\n \n 1. create filter rules::\n \n-    flow create 1 ingress pattern eth / ipv4 dst is 192.168.0.21 proto is 255  tos is 4 / end actions queue index 1 / mark id 1 / count identifier 0x1234 shared on / end\n-    flow create 1 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 hop is 2 tc is 1 / sctp src is 22 dst is 23 / end actions rss queues 6 7 end / mark id 2 / count identifier 0x1234 shared on / end\n+    flow create 1 ingress pattern eth / ipv4 dst is 192.168.0.21 proto is 255  tos is 4 / end actions queue index 1 / mark id 1 / count identifier 0x1234 / end\n+    flow create 1 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 hop is 2 tc is 1 / sctp src is 22 dst is 23 / end actions rss queues 6 7 end / mark id 2 / count identifier 0x1234 / end\n     flow create 1 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 hop is 2 tc is 1 / udp src is 22 dst is 23 / end actions rss queues 6 7 end / mark id 1 / count / end\n     flow create 1 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 hop is 2 tc is 1 / tcp src is 22 dst is 23 / end actions queue index 2 / mark / count / end\n     flow create 1 ingress pattern eth / ipv4 / udp / vxlan / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions drop / count / end\n     flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.21 tos is 4 / tcp src is 22 dst is 23 / end actions drop / count / end\n-    flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 / end actions queue index 1 / mark id 1 / count identifier 0x1234 shared on / end\n+    flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is 2001::2 / end actions queue index 1 / mark id 1 / count identifier 0x1234 / end\n \n 2. send matched packets::\n \n@@ -4018,13 +4018,13 @@ Subcase 3: two ports multi patterns count query\n     COUNT:\n      hits_set: 1\n      bytes_set: 0\n-     hits: 20\n+     hits: 10\n      bytes: 0\n     testpmd> flow query 1 1 count\n     COUNT:\n      hits_set: 1\n      bytes_set: 0\n-     hits: 20\n+     hits: 10\n      bytes: 0\n     testpmd> flow query 1 2 count\n     COUNT:\n",
    "prefixes": [
        "V1",
        "1/2"
    ]
}